class PBinarySerialiser |
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<< (signed char) Output primitive to stream |
![]() | operator<< (short) Output primitive to stream |
![]() | operator<< (int) Output primitive to stream |
![]() | operator<< (unsigned long) Output primitive to streamOutput primitive to streamOutput primitive to streamOutput primitive to stream |
![]() | operator<< (float) Output primitive to stream |
![]() | operator<< (double) Output primitive to stream |
![]() | operator<< (long double) Output primitive to streamOutput 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
I/O functions
Miscellaneous functions
Comparison 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.
Alphabetic index HTML hierarchy of classes or Java