Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Engine Class Reference

Engine stream serialization of persistent classes. More...

#include <persist.h>

List of all members.

Public Types

enum  EngineMode { modeRead, modeWrite }
 These are the modes the Persistence::Engine can work in. More...


Public Methods

 CCXX_MEMBER_EXPORT (CCXX_EMPTY) Engine(std
 This Flushes the buffers and closes the Persistence::Engine this must happen before the underlying stream is shut down. More...

void Write (uint8 i) THROWS(Exception)
void Write (int16 i) THROWS(Exception)
void Write (uint16 i) THROWS(Exception)
void Write (int32 i) THROWS(Exception)
void Write (uint32 i) THROWS(Exception)
void Write (int64 i) THROWS(Exception)
void Write (uint64 i) THROWS(Exception)
void Write (float i) THROWS(Exception)
void Write (double i) THROWS(Exception)
 CCXX_MEMBER_EXPORT (void) Write(const std
void Read (uint8 &i) THROWS(Exception)
void Read (int16 &i) THROWS(Exception)
void Read (uint16 &i) THROWS(Exception)
void Read (int32 &i) THROWS(Exception)
void Read (uint32 &i) THROWS(Exception)
void Read (int64 &i) THROWS(Exception)
void Read (uint64 &i) THROWS(Exception)
void Read (float &i) THROWS(Exception)
void Read (double &i) THROWS(Exception)


Detailed Description

Engine stream serialization of persistent classes.

This class constructs on a standard C++ STL stream and then operates in the mode specified.

Author:
Daniel Silverstone


Member Enumeration Documentation

enum Engine::EngineMode
 

These are the modes the Persistence::Engine can work in.

Enumeration values:
modeRead  
modeWrite  


Member Function Documentation

Engine::CCXX_MEMBER_EXPORT void   const [inline]
 

Engine::CCXX_MEMBER_EXPORT CCXX_EMPTY   [inline]
 

This Flushes the buffers and closes the Persistence::Engine this must happen before the underlying stream is shut down.

void Engine::Read double &   i [inline]
 

void Engine::Read float &   i [inline]
 

void Engine::Read uint64 &   i [inline]
 

void Engine::Read int64 &   i [inline]
 

void Engine::Read uint32 &   i [inline]
 

void Engine::Read int32 &   i [inline]
 

void Engine::Read uint16 &   i [inline]
 

void Engine::Read int16 &   i [inline]
 

void Engine::Read uint8 &   i [inline]
 

void Engine::Write double   i [inline]
 

void Engine::Write float   i [inline]
 

void Engine::Write uint64   i [inline]
 

void Engine::Write int64   i [inline]
 

void Engine::Write uint32   i [inline]
 

void Engine::Write int32   i [inline]
 

void Engine::Write uint16   i [inline]
 

void Engine::Write int16   i [inline]
 

void Engine::Write uint8   i [inline]
 


The documentation for this class was generated from the following file:
Generated at Tue Nov 20 12:34:34 2001 for CommonC++ by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001