ANNA Suite  2020b
Multipurpose development suite for Telco applications
Public Member Functions | Public Attributes | List of all members
test::Response Class Reference

#include <Response.hpp>

Inheritance diagram for test::Response:
Inheritance graph
[legend]
Collaboration diagram for test::Response:
Collaboration graph
[legend]

Public Member Functions

 Response ()
 
- Public Member Functions inherited from test::Request
 Request ()
 
- Public Member Functions inherited from anna::comm::Codec
 Codec (const Type type, const bool scramble=true)
 
const Variableattach (const char *name, std::string &value) noexcept(false)
 
const Variableattach (const char *name, const char *&value) noexcept(false)
 
const Variableattach (const char *name, int &value) noexcept(false)
 
const Variableattach (const char *name, S64 &value) noexcept(false)
 
const Variableattach (const char *name, bool &value) noexcept(false)
 
const Variableattach (const char *name, DataBlock &value) noexcept(false)
 
const Variableattach (const char *name, float &value) noexcept(false)
 
const Variableattach (const char *name, double &value) noexcept(false)
 
const Variableattach (const char *name, Second &value) noexcept(false)
 
const Variableattach (const char *name, Millisecond &value) noexcept(false)
 
const Variableattach (const char *name, Microsecond &value) noexcept(false)
 
- Public Member Functions inherited from anna::comm::CompatCodec
 CompatCodec (const Type type, const bool scramble=true)
 
virtual ~CompatCodec ()
 
Type getType () const
 
const Variableattach (const char *name, const short int id, std::string &value) noexcept(false)
 
const Variableattach (const char *name, const short int id, const char *&value) noexcept(false)
 
const Variableattach (const char *name, const short int id, int &value) noexcept(false)
 
const Variableattach (const char *name, const short int id, S64 &value) noexcept(false)
 
const Variableattach (const char *name, const short int id, bool &value) noexcept(false)
 
const Variableattach (const char *name, const short int id, DataBlock &value) noexcept(false)
 
const Variableattach (const char *name, const short int id, float &value) noexcept(false)
 
const Variableattach (const char *name, const short int id, double &value) noexcept(false)
 
const Variableattach (const char *name, const short int id, Second &value) noexcept(false)
 
const Variableattach (const char *name, const short int id, Millisecond &value) noexcept(false)
 
const Variableattach (const char *name, const short int id, Microsecond &value) noexcept(false)
 
const Variableattach (const char *name, const short int id, comm::CompatCodec &value) noexcept(false)
 
const Variablefind (const short int id) const noexcept(false)
 
void setNull (const short int id, const bool isNull=true) noexcept(false)
 
void setNull (const Variable *variable, const bool isNull=true)
 
bool isNull (const short int id) const noexcept(false)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
int size () const
 
virtual const DataBlockcode () noexcept(false)
 
virtual void decode (const DataBlock &dataBlock) noexcept(false)
 
- Public Member Functions inherited from anna::comm::Message
 Message ()
 
virtual ~Message ()
 
const DataBlockgetBody () const
 
MessagesetBody (const DataBlock &body) noexcept(false)
 
MessagesetBody (const char *buffer, const int size) noexcept(false)
 
virtual MessagesetBody (const xml::Node *node) noexcept(false)
 
void clearBody ()
 
- Public Member Functions inherited from anna::DataBlock
 DataBlock (const bool deepCopy=false)
 
 DataBlock (const char *buffer, const int size, const bool deepCopy=false) noexcept(false)
 
 DataBlock (const DataBlock &other) noexcept(false)
 
virtual ~DataBlock ()
 
int getMaxSize () const
 
int getSize () const
 
const char * getData () const
 
bool isEmpty () const
 
bool deepCopy () const
 
void setSize (const int size) noexcept(false)
 
DataBlockoperator+= (const char c) noexcept(false)
 
DataBlockoperator+= (const DataBlock &right) noexcept(false)
 
DataBlockoperator+= (const std::string &str) noexcept(false)
 
const char operator[] (const int pos) const noexcept(false)
 
char & operator[] (const int pos) noexcept(false)
 
void append (const char *data, const int len) noexcept(false)
 
void append (const DataBlock &other) noexcept(false)
 
void assign (const DataBlock &right) noexcept(false)
 
void assign (const char *buffer, const int size) noexcept(false)
 
DataBlockoperator= (const DataBlock &right) noexcept(false)
 
DataBlockoperator= (const char c) noexcept(false)
 
DataBlockoperator= (const std::string &str) noexcept(false)
 
void allocate (const int nbytes) noexcept(false)
 
void clear () noexcept(false)
 
void remove (const int pos, const int nbytes) noexcept(false)
 
void remove (const int nbytes) noexcept(false)
 
std::string asString (const int characterByLine=24) const
 

Public Attributes

int result
 
- Public Attributes inherited from test::Request
int x
 
int y
 
int op
 
Millisecond initTime
 

Additional Inherited Members

- Public Types inherited from anna::comm::CompatCodec
typedef VariableContainer container
 
typedef container::iterator iterator
 
typedef container::const_iterator const_iterator
 
typedef unsigned char Type
 
- Static Public Member Functions inherited from anna::comm::CompatCodec
static Variablevariable (iterator ii)
 
static const Variablevariable (const_iterator ii)
 
static Type getType (const DataBlock &dataBlock) noexcept(false)
 
- Static Public Attributes inherited from test::Request
static const int Id = 1
 
- Protected Member Functions inherited from anna::comm::Message
 Message (const StatusCodeBuffer::_v statusCodeBuffer)
 
 Message (DataBlock &codeBuffer)
 
- Protected Member Functions inherited from anna::DataBlock
void initialize (const char *buffer, const int size) noexcept(false)
 
void setBuffer (const char *buffer)
 
void setMaxSize (const int maxSize)
 
- Protected Attributes inherited from anna::comm::CompatCodec
bool a_scramble
 
- Protected Attributes inherited from anna::comm::Message
DataBlocka_codeBuffer
 

Constructor & Destructor Documentation

◆ Response()

test::Response::Response ( )
inline
20  {
21  attach ("Result", result);
22  }
const Variable * attach(const char *name, std::string &value) noexcept(false)
Definition: Codec.hpp:106
int result
Definition: Response.hpp:18
Here is the call graph for this function:

Member Data Documentation

◆ result

int test::Response::result

The documentation for this class was generated from the following file: