#include <PersistencySvc.h>
A concrete implementation of the IPersistencySvc interface
Definition at line 22 of file PersistencySvc.h.
◆ PersistencySvc() [1/2]
pool::PersistencySvc::PersistencySvc::PersistencySvc |
( |
IFileCatalog & |
fileCatalog | ) |
|
|
explicit |
◆ ~PersistencySvc()
pool::PersistencySvc::PersistencySvc::~PersistencySvc |
( |
| ) |
|
◆ PersistencySvc() [2/2]
◆ create()
◆ operator=()
◆ readObject()
void* pool::PersistencySvc::PersistencySvc::readObject |
( |
const Token & |
token, |
|
|
void * |
object = 0 |
|
) |
| |
|
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.
Implements pool::IPersistencySvc.
◆ 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.
Implements pool::IPersistencySvc.
◆ session()
ISession& pool::PersistencySvc::PersistencySvc::session |
( |
| ) |
|
|
virtual |
◆ m_session
UserSession* pool::PersistencySvc::PersistencySvc::m_session |
|
private |
The documentation for this class was generated from the following file: