Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ISerializable.H File Reference


Detailed Description

Header file of class qgar::ISerializable.

Author:
Jan Rendek
Date:
June 28, 2004 14:34
Since:
Qgar 2.2

Definition in file ISerializable.H.

Go to the source code of this file.

Namespaces

namespace  qgar

Classes

class  qgar::ISerializable
 Base interface of all serializable objects. More...

Global functions for object deserialization

void qgar::qgReadObjName (std::istream &anIStream, const char *aClassName) throw (QgarErrorIO)
 Read the name part of an object.
template<class T>
void qgar::qgReadObjData (std::istream &anIStream, T &anObject) throw (qgar::QgarErrorIO)
 Read a data member of class T.

Stream operators for object serialization/deserialization

std::istream & qgar::operator>> (std::istream &anInStream, ISerializable &aSerial)
 Reads a serializable object from and input stream.
std::ostream & qgar::operator<< (std::ostream &anOutStream, const ISerializable &aSerial)
 Writes a serializable object to an output stream.