5#ifndef PERSISTENCYSVC_PERSISTENCYSVC
6#define PERSISTENCYSVC_PERSISTENCYSVC
34 IFileCatalog& fileCatalog();
37 void setFileCatalog( IFileCatalog& catalog );
This class holds all the necessary information to guide the writing of an object in a physical place.
This class provides a token that identifies in a unique way objects on the persistent storage.
IPersistencySvc()
No copy constructor, and no assignment operator.
ISession is the interface class for user (macroscopic) sessions Every transaction and connection to a...
ISession & session()
Returns the underlying global session.
Token * registerForWrite(const Placement &place, const void *object, const RootType &type)
registerForWrite registers an object for writing to the persistent medium higher level interactions w...
void * readObject(const Token &token, void *object=0)
Retrieves an object from persistent store and return with type information The handle to the reflecti...
PersistencySvc(const PersistencySvc &)=delete
PersistencySvc & operator=(const PersistencySvc &)=delete
PersistencySvc(IFileCatalog &fileCatalog)
Constructor.
~PersistencySvc()
Destructor.
UserSession * m_session
The session object.
UserSession is an implementation of the ISession interface.