Location:
S32STOR.H
Link against: estor.lib
class CPersistentStore : public CStreamStore;
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.
CBase
- Base class for all classes to be instantiated on the heap
CStreamStore
- Provides the core abstract framework for stores allowing streams to be created and manipulated
CPersistentStore
- Persistent store abstract base class
Defined in CPersistentStore
:
CPersistentStore()
, DoSetRootL()
, Root()
, SetRootL()
, iRoot
Inherited from CBase
:
Extension_()
,
operator new()
Inherited from CStreamStore
:
Commit()
,
CommitL()
,
CompactL()
,
Delete()
,
DeleteL()
,
DoCommitL()
,
DoCompactL()
,
DoCreateL()
,
DoDeleteL()
,
DoExtendL()
,
DoReadL()
,
DoReclaimL()
,
DoReplaceL()
,
DoRevertL()
,
DoWriteL()
,
ExtendL()
,
ReclaimL()
,
Revert()
,
RevertL()
inline TStreamId Root() const;
Returns the stream id of the root stream.
|
inline void SetRootL(TStreamId anId);
Sets the specified stream as the root stream.
|
private: virtual IMPORT_C void DoSetRootL(TStreamId anId);
Implements the setting of theroot stream.
This function is called by SetRootL()
|
protected: TStreamId iRoot;