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

DBState Class Reference

#include <DatabaseManager.h>

Inheritance diagram for DBState::

IntermediateState MainState DatabaseAddingObjects DatabaseClosing DatabaseCreating DatabaseGettingObjects DatabaseOpening DatabaseSaving DatabaseSavingAs DatabaseClosed DatabaseModified DatabaseSaved List of all members.

Public Methods

 DBState ()
 DBState (const DBState &state)
const DBState& operator= (const DBState &state)
virtual ~DBState ()
virtual void init ()
virtual void handleEvent (const DBEvent &event)=0
const DBState* nextState () const
virtual DBState* clone () const=0
virtual bool isFinal () const=0
virtual DB2FE_MESSAGE initMessage () const
virtual void printOn (ostream &ostr) const

Protected Attributes

DBState* theNextState

Constructor & Destructor Documentation

DBState::DBState ( ) [inline]
 

Definition at line 56 of file DatabaseManager.h.

DBState::DBState ( const DBState & state )
 

virtual DBState::~DBState ( ) [virtual]
 


Member Function Documentation

const DBState& DBState::operator= ( const DBState & state )
 

void DBState::init ( ) [inline, virtual]
 

Definition at line 65 of file DatabaseManager.h.

virtual void DBState::handleEvent ( const DBEvent & event ) [pure virtual]
 

Reimplemented in DatabaseClosed, DatabaseSaved, DatabaseModified, DatabaseCreating, DatabaseOpening, DatabaseSaving, DatabaseSavingAs, DatabaseClosing, DatabaseAddingObjects, and DatabaseGettingObjects.

const DBState * DBState::nextState ( ) const [inline]
 

Definition at line 69 of file DatabaseManager.h.

virtual DBState* DBState::clone ( ) const [pure virtual]
 

Reimplemented in DatabaseClosed, DatabaseSaved, DatabaseModified, DatabaseCreating, DatabaseOpening, DatabaseSaving, DatabaseSavingAs, DatabaseClosing, DatabaseAddingObjects, and DatabaseGettingObjects.

Referenced by copyState().

virtual bool DBState::isFinal ( ) const [pure virtual]
 

Reimplemented in IntermediateState, DatabaseClosed, DatabaseSaved, and DatabaseModified.

DB2FE_MESSAGE DBState::initMessage ( ) const [inline, virtual]
 

Reimplemented in DatabaseClosed, DatabaseCreating, DatabaseOpening, DatabaseSaving, DatabaseSavingAs, DatabaseClosing, DatabaseAddingObjects, and DatabaseGettingObjects.

Definition at line 73 of file DatabaseManager.h.

void DBState::printOn ( ostream & ostr ) const [inline, virtual]
 

Reimplemented in IntermediateState, DatabaseClosed, DatabaseSaved, DatabaseModified, DatabaseCreating, DatabaseOpening, DatabaseSaving, DatabaseSavingAs, DatabaseClosing, DatabaseAddingObjects, and DatabaseGettingObjects.

Definition at line 75 of file DatabaseManager.h.

Referenced by operator<<().


Member Data Documentation

DBState* DBState::theNextState [protected]
 

Definition at line 80 of file DatabaseManager.h.


The documentation for this class was generated from the following file:
Generated at Tue Jun 19 09:49:50 2001 for Magnus Classes by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001