Location:
s32stor.h
Link against: estor.lib
CPersistentStore
Supported from 5.0
Persistent store abstract base class. It provides the behaviour for setting and retrieving the root stream id.
Before closing a persistent store, the root stream id must be set. After opening a persistent store, the first thing done is to look up the root stream id. The root stream can then be opened and data read from the store.
|
Defined in CPersistentStore
:
CPersistentStore()
, DoSetRootL()
, Root()
, SetRootL()
Inherited from CBase
:
operator new()
Inherited from CStreamStore
:
Commit()
,
CommitL()
,
CompactL()
,
Delete()
,
DeleteL()
,
DoCommitL()
,
DoCompactL()
,
DoCreateL()
,
DoDeleteL()
,
DoReadL()
,
DoReclaimL()
,
DoReplaceL()
,
DoRevertL()
,
DoWriteL()
,
ExtendL()
,
ReclaimL()
,
Revert()
,
RevertL()
protected: CPersistentStore();
Protected constructor. Prevents objects of this type being constructed.
TStreamId Root() const;
Returns the stream id of the root stream.
|
void SetRootL(TStreamId anId);
Sets the specified stream as the root stream.
|
private: virtual void DoSetRootL(TStreamId anId);
Implements the setting of theroot stream.
This function is called by SetRootL()
|