Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: S32STOR.H
Link against: estor.lib

Class CPersistentStore

class CPersistentStore : public CStreamStore;

Description

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.

Derivation

Members

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()

See also:


Construction and destruction


CPersistentStore()

protected: inline CPersistentStore();

Description

[Top]


Member functions


Root()

inline TStreamId Root() const;

Description

Returns the stream id of the root stream.

Return value

TStreamId

The id of the root stream.


SetRootL()

inline void SetRootL(TStreamId anId);

Description

Sets the specified stream as the root stream.

Parameters

TStreamId anId

The id of the stream which is to be the root stream of this store.


DoSetRootL()

private: virtual IMPORT_C void DoSetRootL(TStreamId anId);

Description

Implements the setting of theroot stream.

This function is called by SetRootL()

Parameters

TStreamId anId

The id of the stream which is to be the root stream of the store.

See also:

[Top]


Member data


iRoot

protected: TStreamId iRoot;

Description