NymphRPC Remote Procedure Call Library
Classes | Public Member Functions | List of all members
NymphType Class Reference

Public Member Functions

 NymphType (bool v)
 
 NymphType (uint8_t v)
 
 NymphType (int8_t v)
 
 NymphType (uint16_t v)
 
 NymphType (int16_t v)
 
 NymphType (uint32_t v)
 
 NymphType (int32_t v)
 
 NymphType (uint64_t v)
 
 NymphType (int64_t v)
 
 NymphType (float v)
 
 NymphType (double v)
 
 NymphType (char *v, uint32_t bytes, bool own=false)
 
 NymphType (std::string *v, bool own=false)
 
 NymphType (std::vector< NymphType * > *v, bool own=false)
 
 NymphType (std::map< std::string, NymphPair > *v, bool own=false)
 
bool getBool (bool *v=0)
 
uint8_t getUint8 (uint8_t *v=0)
 
int8_t getInt8 (int8_t *v=0)
 
uint16_t getUint16 (uint16_t *v=0)
 
int16_t getInt16 (int16_t *v=0)
 
uint32_t getUint32 (uint32_t *v=0)
 
int32_t getInt32 (int32_t *v=0)
 
uint64_t getUint64 (uint64_t *v=0)
 
int64_t getInt64 (int64_t *v=0)
 
float getFloat (float *v=0)
 
double getDouble (double *v=0)
 
const char * getChar (const char *v=0)
 
std::vector< NymphType * > * getArray (std::vector< NymphType * > *v=0)
 
std::map< std::string, NymphPair > * getStruct (std::map< std::string, NymphPair > *v=0)
 
std::string getString ()
 
bool getStructValue (std::string key, NymphType *&value)
 
void setValue (bool v)
 
void setValue (uint8_t v)
 
void setValue (int8_t v)
 
void setValue (uint16_t v)
 
void setValue (int16_t v)
 
void setValue (uint32_t v)
 
void setValue (int32_t v)
 
void setValue (uint64_t v)
 
void setValue (int64_t v)
 
void setValue (float v)
 
void setValue (double v)
 
void setValue (char *v, uint32_t bytes, bool own=false)
 
void setValue (std::string *v, bool own=false)
 
void setValue (std::vector< NymphType * > *v, bool own=false)
 
void setValue (std::map< std::string, NymphPair > *v, bool own=false)
 
uint64_t bytes ()
 
uint32_t string_length ()
 
NymphTypes valuetype ()
 
void serialize (uint8_t *&index)
 
void linkWithMessage (NymphMessage *msg)
 
void triggerAddRC ()
 
void discard ()
 

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