TC::StreamAble Class Reference
[IO Classes and Functions]

Interface class define functions for streaming a object to a Stream. More...

#include <TCStreamAble.h>

List of all members.

Public Member Functions

virtual ~StreamAble ()
virtual bool ReadFromStream (StreamPtr stream)=0
 Read the object data from a Stream.
virtual bool WriteOnStream (StreamPtr stream) const =0
 Write the object data to a Stream.


Detailed Description

Interface class define functions for streaming a object to a Stream.

Definition at line 58 of file TCStreamAble.h.


Constructor & Destructor Documentation

virtual TC::StreamAble::~StreamAble (  )  [inline, virtual]

Definition at line 61 of file TCStreamAble.h.


Member Function Documentation

virtual bool TC::StreamAble::ReadFromStream ( StreamPtr  stream  )  [pure virtual]

Read the object data from a Stream.

Parameters:
stream Stream where to read the data from
Returns:
success or not

virtual bool TC::StreamAble::WriteOnStream ( StreamPtr  stream  )  const [pure virtual]

Write the object data to a Stream.

Parameters:
stream Stream where to write the data to
Returns:
success or not


The documentation for this class was generated from the following file:

Copyright (c) Thomas Goessler 2003 - 2008