class Engine

stream serialization of persistent classes. More...

Definition#include <../common/persist.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members


Detailed Description

Engine

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

Exception (class)

If problems happen which are fatal - expect one of these thrown at you

enum EngineMode {modeRead, modeWrite }

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

Engine (iostream& stream, EngineMode mode) THROWS (PersistException)

Constructs a Persistence::Engine with the specified stream in the given mode. The stream must be initialised properly prior to this call or problems will ensue.

~Engine ()

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