7#ifndef PERSISTENCYSVC_IPERSISTENCYSVC
8#define PERSISTENCYSVC_IPERSISTENCYSVC
44 virtual void setFileCatalog( IFileCatalog& catalog ) = 0;
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.
virtual Token * registerForWrite(const Placement &place, const void *object, const RootType &type)=0
registerForWrite registers an object for writing to the persistent medium higher level interactions w...
IPersistencySvc()
No copy constructor, and no assignment operator.
virtual ISession & session()=0
Returns the underlying global session.
IPersistencySvc & operator=(const IPersistencySvc &)
static std::unique_ptr< IPersistencySvc > create(IFileCatalog &catalog)
Factory for PersistencySvc.
IPersistencySvc(const IPersistencySvc &)
virtual ~IPersistencySvc()
Empty destructor.
virtual void * readObject(const Token &token, void *object=0)=0
Retrieves an object from persistent store and return with type information The handle to the reflecti...
ISession is the interface class for user (macroscopic) sessions Every transaction and connection to a...