class PTextSerialiser

This serialiser class serialises each object using ASCII text.

Inheritance:


Public Methods

[more] PTextSerialiser ( ostream & strm, PObject & data )
Create a text serialiser
[more]PSerialiser& operator<< (char)
Output primitive to stream
[more]PSerialiser& operator<< (signed char)
Output primitive to stream
[more]PSerialiser& operator<< (short)
Output primitive to stream
[more]PSerialiser& operator<< (int)
Output primitive to stream
[more]PSerialiser& operator<< (unsigned long)
Output primitive to streamOutput primitive to streamOutput primitive to streamOutput primitive to stream
[more]PSerialiser& operator<< (float)
Output primitive to stream
[more]PSerialiser& operator<< (double)
Output primitive to stream
[more]PSerialiser& operator<< (long double)
Output primitive to streamOutput primitive to stream
[more]PSerialiser& operator<< (const char* )
Output primitive to stream
[more]PSerialiser& operator<< (const unsigned char* )
Output primitive to stream
[more]PSerialiser& operator<< (const signed char* )
Output primitive to stream
[more]virtual PSerialiser& operator<< (PObject & obj)
Output the data to the serialiser object.


Inherited from PSerialiser:

Protected Fields

oostream& stream


Inherited from PObject:

Public Methods

Run Time Type functions

I/O functions

Miscellaneous functions

Public Members

Comparison functions


Documentation

This serialiser class serialises each object using ASCII text. This gives the highest level of portability for streams and platforms at the expense if larger amounts of data.
o PTextSerialiser( ostream & strm, PObject & data )
Create a text serialiser

oPSerialiser& operator<<(char)
Output primitive to stream

oPSerialiser& operator<<(signed char)
Output primitive to stream

oPSerialiser& operator<<(short)
Output primitive to stream

oPSerialiser& operator<<(int)
Output primitive to stream

oPSerialiser& operator<<(unsigned long)
Output primitive to streamOutput primitive to streamOutput primitive to streamOutput primitive to stream

oPSerialiser& operator<<(float)
Output primitive to stream

oPSerialiser& operator<<(double)
Output primitive to stream

oPSerialiser& operator<<(long double)
Output primitive to streamOutput primitive to stream

oPSerialiser& operator<<(const char* )
Output primitive to stream

oPSerialiser& operator<<(const unsigned char* )
Output primitive to stream

oPSerialiser& operator<<(const signed char* )
Output primitive to stream

ovirtual PSerialiser& operator<<(PObject & obj)
Output the data to the serialiser object. When the operator is executed on a PObject descendent then that objects PObject::Serialise() function is called.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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