dcrud
0.0.0
Distributed data and services
|
#include <ClassID.hpp>
Public Types | |
enum | Type { TYPE_NULL, TYPE_BYTE, TYPE_BOOLEAN, TYPE_SHORT, TYPE_INTEGER, TYPE_LONG, TYPE_FLOAT, TYPE_DOUBLE, TYPE_STRING, TYPE_CLASS_ID, TYPE_GUID, TYPE_CALL_MODE, TYPE_QUEUE_INDEX, TYPE_SHAREABLE, LAST_TYPE } |
Public Member Functions | |
ClassID (byte p1=0, byte p2=0, byte p3=0, byte clazz=0) | |
ClassID (const ClassID &right) | |
ClassID & | operator= (const ClassID &right) |
bool | operator== (const ClassID &right) const |
bool | operator< (const ClassID &right) const |
int | compareTo (const ClassID &right) const |
Type | getType () const |
void | serialize (io::ByteBuffer &buffer) const |
std::string | toString (void) const |
Static Public Member Functions | |
static void | serialize (Type type, io::ByteBuffer &buffer) |
static ClassID | unserialize (io::ByteBuffer &buffer) |
Static Public Attributes | |
static const unsigned int | SIZE = 4 |
Definition at line 7 of file ClassID.hpp.
enum Type |
Enumerator | |
---|---|
TYPE_NULL | |
TYPE_BYTE | |
TYPE_BOOLEAN | |
TYPE_SHORT | |
TYPE_INTEGER | |
TYPE_LONG | |
TYPE_FLOAT | |
TYPE_DOUBLE | |
TYPE_STRING | |
TYPE_CLASS_ID | |
TYPE_GUID | |
TYPE_CALL_MODE | |
TYPE_QUEUE_INDEX | |
TYPE_SHAREABLE | |
LAST_TYPE |
Definition at line 10 of file ClassID.hpp.
|
inline |
Definition at line 32 of file ClassID.hpp.
Definition at line 39 of file ClassID.hpp.
int compareTo | ( | const ClassID & | right | ) | const |
Type getType | ( | ) | const |
|
inline |
Definition at line 62 of file ClassID.hpp.
Definition at line 46 of file ClassID.hpp.
|
inline |
Definition at line 58 of file ClassID.hpp.
|
static |
void serialize | ( | io::ByteBuffer & | buffer | ) | const |
std::string toString | ( | void | ) | const |
|
static |
|
static |
Definition at line 30 of file ClassID.hpp.