class PBinaryUnSerialiser: public PUnSerialiser

This un-serialiser class reconstructs each object using binary data.

Inheritance:


Public Methods

[more] PBinaryUnSerialiser ( istream & strm )
Create a binary un-serialiser.
[more] ~PBinaryUnSerialiser ()
Destroy the un-serialiser and its class table.
[more]PUnSerialiser& operator>> (char &)
Input primitive from stream.
[more]PUnSerialiser& operator>> (unsigned char &)
Input primitive from stream.
[more]PUnSerialiser& operator>> (signed char &)
Input primitive from stream.
[more]PUnSerialiser& operator>> (short &)
Input primitive from stream.
[more]PUnSerialiser& operator>> (unsigned short &)
Input primitive from stream.
[more]PUnSerialiser& operator>> (int &)
Input primitive from stream.
[more]PUnSerialiser& operator>> (unsigned int &)
Input primitive from stream.
[more]PUnSerialiser& operator>> (long &)
Input primitive from stream.
[more]PUnSerialiser& operator>> (unsigned long &)
Input primitive from stream.
[more]PUnSerialiser& operator>> (float &)
Input primitive from stream.
[more]PUnSerialiser& operator>> (double &)
Input primitive from stream.
[more]PUnSerialiser& operator>> (long double &)
Input primitive from stream.
[more]PUnSerialiser& operator>> (char *)
Input primitive from stream.
[more]PUnSerialiser& operator>> (unsigned char *)
Input primitive from stream.
[more]PUnSerialiser& operator>> (signed char *)
Input primitive from stream.
[more]PUnSerialiser& operator>> (PObject &)
Input the data from the un-serialiser object.

Protected Fields

[more]PStringArray* classesUsed
Class table used by the serialiser.


Inherited from PUnSerialiser:

Protected Fields

oistream& stream


Inherited from PObject:

Public

Run Time Type functions

Comparison functions

I/O functions

Miscellaneous functions


Documentation

This un-serialiser class reconstructs each object using binary data. This gives the highest level data density at the expense of some portability and possibly the speed of execution.

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.

o PBinaryUnSerialiser( istream & strm )
Create a binary un-serialiser.

o ~PBinaryUnSerialiser()
Destroy the un-serialiser and its class table.

oPUnSerialiser& operator>>(char &)
Input primitive from stream.

oPUnSerialiser& operator>>(unsigned char &)
Input primitive from stream.

oPUnSerialiser& operator>>(signed char &)
Input primitive from stream.

oPUnSerialiser& operator>>(short &)
Input primitive from stream.

oPUnSerialiser& operator>>(unsigned short &)
Input primitive from stream.

oPUnSerialiser& operator>>(int &)
Input primitive from stream.

oPUnSerialiser& operator>>(unsigned int &)
Input primitive from stream.

oPUnSerialiser& operator>>(long &)
Input primitive from stream.

oPUnSerialiser& operator>>(unsigned long &)
Input primitive from stream.

oPUnSerialiser& operator>>(float &)
Input primitive from stream.

oPUnSerialiser& operator>>(double &)
Input primitive from stream.

oPUnSerialiser& operator>>(long double &)
Input primitive from stream.

oPUnSerialiser& operator>>(char *)
Input primitive from stream.

oPUnSerialiser& operator>>(unsigned char *)
Input primitive from stream.

oPUnSerialiser& operator>>(signed char *)
Input primitive from stream.

oPUnSerialiser& operator>>(PObject &)
Input the data from the un-serialiser object. When the operator is executed on a PObject descendent then that objects PObject::UnSerialise() function is called.

oPStringArray* classesUsed
Class table used by the serialiser.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.