This serialiser class serialises each object using binary data.
![]() | PBinarySerialiser ( ostream & strm, PObject & data ) Create a binary serialiser. |
![]() | ~PBinarySerialiser () Destroy the serialiser and its class table. |
![]() | operator<< (char) Output primitive to stream. |
![]() | operator<< (unsigned char) Output primitive to stream. |
![]() | operator<< (signed char) Output primitive to stream. |
![]() | operator<< (short) Output primitive to stream. |
![]() | operator<< (unsigned short) Output primitive to stream. |
![]() | operator<< (int) Output primitive to stream. |
![]() | operator<< (unsigned int) Output primitive to stream. |
![]() | operator<< (long) Output primitive to stream. |
![]() | operator<< (unsigned long) Output primitive to stream. |
![]() | operator<< (float) Output primitive to stream. |
![]() | operator<< (double) Output primitive to stream. |
![]() | operator<< (long double) Output primitive to stream. |
![]() | operator<< (const char *) Output primitive to stream. |
![]() | operator<< (const unsigned char *) Output primitive to stream. |
![]() | operator<< (const signed char *) Output primitive to stream. |
![]() | operator<< (PObject & obj) Output the data to the serialiser object. |
![]() | classesUsed List of classes used during serialisation. |
Run Time Type functions
Comparison functions
I/O functions
Miscellaneous functions
This serialiser class serialises each object using binary data. This gives the highest level data density at the expense of some portability and possibly the speed of execution.This is because two passes through the objects is made, the first to determine the classes and sizes and the second to actually output the data. A table of classes must also be output to set the correspondence between the class codes used in the output and the class names that are required by the unserialiser to construct instances of those classes.
~PBinarySerialiser()
PSerialiser& operator<<(char)
PSerialiser& operator<<(unsigned char)
PSerialiser& operator<<(signed char)
PSerialiser& operator<<(short)
PSerialiser& operator<<(unsigned short)
PSerialiser& operator<<(int)
PSerialiser& operator<<(unsigned int)
PSerialiser& operator<<(long)
PSerialiser& operator<<(unsigned long)
PSerialiser& operator<<(float)
PSerialiser& operator<<(double)
PSerialiser& operator<<(long double)
PSerialiser& operator<<(const char *)
PSerialiser& operator<<(const unsigned char *)
PSerialiser& operator<<(const signed char *)
virtual PSerialiser& operator<<(PObject & obj)
PSortedStringList* classesUsed
Alphabetic index HTML hierarchy of classes or Java