ost::BaseObject(3) | Library Functions Manual | ost::BaseObject(3) |
NAME¶
ost::BaseObject - BaseObject.SYNOPSIS¶
#include <persist.h>Public Member Functions¶
BaseObject ()
Detailed Description¶
BaseObject.Daniel Silverstone Base class for classes that
will be persistent.
Constructor & Destructor Documentation¶
ost::BaseObject::BaseObject ()¶
This constructor is used in serialisation processes. It is called in CreateNewInstance in order to create an instance of the class to have Read() called on it.virtual ost::BaseObject::~BaseObject () [virtual]¶
Default destructor.Member Function Documentation¶
virtual const char* ost::BaseObject::getPersistenceID () const [virtual]¶
This returns the ID of the persistent object (Its type)virtual bool ost::BaseObject::read (Engine &archive) [virtual]¶
This method is used to read from a Persistence::Engine It is not equivalent to the >> operator as it does no typesafety or anything.virtual bool ost::BaseObject::write (Engine &archive) const [virtual]¶
This method is used to write to the Persistence::Engine It is not equivalent to the << operator as it writes only the data and not the object type etc.Author¶
Generated automatically by Doxygen for GNU CommonC++ from the source code.Sat Jun 23 2012 | GNU CommonC++ |