CPersistentStore Class Reference

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.

CFileStore

Inherits from

Constructor & Destructor Documentation

CPersistentStore()

CPersistentStore()[protected, inline]

Member Functions Documentation

DoSetRootL(TStreamId)

IMPORT_C voidDoSetRootL(TStreamIdanId)[private, virtual]

Parameters

TStreamId anId

Root()

TStreamId Root()const [inline]

Returns the stream id of the root stream.

SetRootL(TStreamId)

voidSetRootL(TStreamIdanId)[inline]

Sets the specified stream as the root stream.

Parameters

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

Member Data Documentation

TStreamId iRoot

TStreamId iRoot[protected]