Persistence library classes.
More...
Include dependency graph for persist.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures
This class manages the types for generation of the persistent objects.
More...
This manages a registration to the typemanager - attempting to remove problems with the optimisers.
More...
Macros
Typedefs
Detailed Description
Persistence library classes.
Definition in file persist.h.
Macro Definition Documentation
#define CCXX_ENGINEREAD_REF
(
valref )
readBinary((uint8*)&valref,sizeof(valref))
#define CCXX_ENGINEWRITE_REF
(
valref )
writeBinary((const uint8*)&valref,sizeof(valref))
#define DECLARE_PERSISTENCE
(
ClassType )
Value:public: \
virtual const char* getPersistenceID() const; \
This manages a registration to the typemanager - attempting to remove problems with the optimisers...
__EXPORT Engine & operator<<(Engine &ar, BaseObject const &ob) THROWS(PersistException)
__EXPORT Engine & operator>>(Engine &ar, BaseObject &ob) THROWS(PersistException)
Definition at line 164 of file persist.h.
#define IMPLEMENT_PERSISTENCE
(
ClassType,
FullyQualifiedName
)
Value:
const
char* ClassType::getPersistenceID()
const {
return FullyQualifiedName;}
\
ClassType::registrationFor##ClassType(FullyQualifiedName, \
createNew##ClassType);
__EXPORT Engine & operator<<(Engine &ar, BaseObject const &ob) THROWS(PersistException)
__EXPORT Engine & operator>>(Engine &ar, BaseObject &ob) THROWS(PersistException)
Definition at line 172 of file persist.h.
Typedef Documentation
typedef class
BaseObject*(* NewBaseObjectFunction)(void)