|
sipxportlib
Version 3.3
|
#include <UtlSerialized.h>
Public Member Functions | |
Creators | |
| UtlSerialized () | |
| Constructor. More... | |
| UtlSerialized (const UtlSerialized &rhs) | |
| Copy constructor. More... | |
| virtual | ~UtlSerialized () |
| Destructor. More... | |
Manipulators | |
| SERIALIZE_POD_DEFINE (char) | |
| SERIALIZE_POD_DEFINE (short) | |
| SERIALIZE_POD_DEFINE (int) | |
| SERIALIZE_POD_DEFINE (long) | |
| SERIALIZE_POD_DEFINE (unsigned char) | |
| SERIALIZE_POD_DEFINE (unsigned short) | |
| SERIALIZE_POD_DEFINE (unsigned int) | |
| SERIALIZE_POD_DEFINE (unsigned long) | |
| SERIALIZE_POD_DEFINE (void *) | |
| OsStatus | serialize (const UtlString &val) |
| OsStatus | deserialize (UtlString &val) |
| void | finishSerialize () |
| Prepare for de-serialization. More... | |
| UtlSerialized & | operator= (const UtlSerialized &rhs) |
| Assignment operator. More... | |
Accessors | |
| size_t | getMaxSize () const |
| Get size of available space (in bytes). More... | |
| size_t | getSize () const |
| Get size of stored data (in bytes). More... | |
| size_t | getFreeSize () const |
| Get free size in storage (in bytes). More... | |
Protected Attributes | |
| uint8_t * | mpEnd |
| Pointer to the byte right after the end of data. More... | |
| uint8_t | mData [UTL_SERIALIZED_SIZE] |
| Array to serialize data to. More... | |
| size_t | mSize |
| Size of the serialized data. More... | |
|
inline |
Constructor.
|
inline |
Copy constructor.
|
inlinevirtual |
Destructor.
| SERIALIZE_POD_DEFINE | ( | char | ) |
| SERIALIZE_POD_DEFINE | ( | short | ) |
| SERIALIZE_POD_DEFINE | ( | int | ) |
| SERIALIZE_POD_DEFINE | ( | long | ) |
| SERIALIZE_POD_DEFINE | ( | unsigned | char | ) |
| SERIALIZE_POD_DEFINE | ( | unsigned | short | ) |
| SERIALIZE_POD_DEFINE | ( | unsigned | int | ) |
| SERIALIZE_POD_DEFINE | ( | unsigned | long | ) |
| SERIALIZE_POD_DEFINE | ( | void * | ) |
|
inline |
Prepare for de-serialization.
|
inline |
Assignment operator.
|
inline |
Get size of available space (in bytes).
|
inline |
Get size of stored data (in bytes).
|
inline |
Get free size in storage (in bytes).
|
protected |
Pointer to the byte right after the end of data.
|
protected |
Array to serialize data to.
|
protected |
Size of the serialized data.
1.8.11