#include <persist.h>
Public Methods | |
CCXX_MEMBER_EXPORT (CCXX_EMPTY) BaseObject() | |
This constructor is used in serialisation processes. More... | |
CCXX_MEMBER_EXPORT (virtual)~BaseObject() | |
Default destructor. More... | |
CCXX_MEMBER_EXPORT (virtual const char *) GetPersistenceID() const | |
This returns the ID of the persistent object (Its type). More... | |
CCXX_MEMBER_EXPORT (virtual bool) Write(Engine &archive) const | |
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. More... | |
CCXX_MEMBER_EXPORT (virtual bool) Read(Engine &archive) | |
This method is used to read from a Persistence::Engine It is not equivalent to the >> operator as it does no typesafety or anything. More... |
This object is the base for all Persistent data which is not natively serialised by the Persistence::Engine
It registers itself with the Persistence::TypeManager using a global constructor function. A matching deregister call is made in a global destructor, to allow DLL's to use the Persistence::Engine in a main executable.
|
This method is used to read from a Persistence::Engine It is not equivalent to the >> operator as it does no typesafety or anything.
|
|
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.
|
|
This returns the ID of the persistent object (Its type).
|
|
Default destructor.
|
|
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. |