vpr::ReadableObject Class Reference

The abstract base class for all types that can be read from a stream. More...

#include <vpr/IO/SerializableObject.h>

Inheritance diagram for vpr::ReadableObject:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~ReadableObject ()
virtual vpr::ReturnStatus readObject (vpr::ObjectReader *reader)=0
 Template method for reading data into this object from the given stream.

Protected Member Functions

 ReadableObject ()
 ReadableObject (const ReadableObject &)

Detailed Description

The abstract base class for all types that can be read from a stream.

Instances of this type can be de-serialized from a stream (also known as de-marshalling).

Definition at line 96 of file SerializableObject.h.


Constructor & Destructor Documentation

virtual vpr::ReadableObject::~ReadableObject (  )  [inline, virtual]

Definition at line 99 of file SerializableObject.h.

00100    {;}

vpr::ReadableObject::ReadableObject (  )  [inline, protected]

Definition at line 113 of file SerializableObject.h.

00114    {;}

vpr::ReadableObject::ReadableObject ( const ReadableObject  )  [inline, protected]

Definition at line 116 of file SerializableObject.h.

00117    {;}


Member Function Documentation

virtual vpr::ReturnStatus vpr::ReadableObject::readObject ( vpr::ObjectReader reader  )  [pure virtual]

Template method for reading data into this object from the given stream.

Postcondition:
All object data is read from the reader.
Parameters:
reader The object reader from which the data for this object can be read to allow de-serialization of this object.

Implemented in vpr::SerializableObjectMixin< BASE >, and vpr::GUID.


The documentation for this class was generated from the following file:
Generated on Thu Jan 4 10:55:11 2007 for VR Juggler Portable Runtime by  doxygen 1.5.1