#include <PersistencySvc/IPersistencySvc.h>
IPersistencySvc is the abstract interface for all services which execute the conversion between transient and persistent objects.
Definition at line 31 of file IPersistencySvc.h.
◆ ~IPersistencySvc()
virtual pool::IPersistencySvc::~IPersistencySvc |
( |
| ) |
|
|
inlinevirtual |
◆ IPersistencySvc() [1/2]
pool::IPersistencySvc::IPersistencySvc |
( |
| ) |
|
|
inlineprotected |
No copy constructor, and no assignment operator.
Definition at line 79 of file IPersistencySvc.h.
◆ IPersistencySvc() [2/2]
◆ create()
◆ operator=()
◆ readObject()
virtual void* pool::IPersistencySvc::readObject |
( |
const Token & |
token, |
|
|
void * |
object = 0 |
|
) |
| |
|
pure virtual |
Retrieves an object from persistent store and return with type information The handle to the reflection class is necessary to later delete the object.
The Guid of the transient class is assumed to be the classID of the token
- Parameters
-
token | [IN] reference to the token for the object |
object | [IN] pointer to memory for the object (created if 0) |
- Returns
- void* The data.
In case of failure zero is returned.
Implemented in pool::PersistencySvc::PersistencySvc.
◆ registerForWrite()
registerForWrite registers an object for writing to the persistent medium higher level interactions with the framework are necessary.
- Parameters
-
place | [IN] the placement hint |
object | [IN] pointer to transient object which will be written |
type | [IN] reflection class description with the layout of transient object |
- Returns
- Token* the token address of the persistent object. I case of failure 0 is returned.
Implemented in pool::PersistencySvc::PersistencySvc.
◆ session()
virtual ISession& pool::IPersistencySvc::session |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: