CPersistentStore Class Reference

#include <s32stor.h>

Link against: eposprvtyp.lib

class CPersistentStore : public CStreamStore

Inherits from

Detailed 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.

See also: CFileStore

Member Attribute Documentation

iRoot

TStreamId iRoot[protected]

Constructor & Destructor Documentation

CPersistentStore ( )

CPersistentStore()[protected, inline]

Member Function Documentation

Root ( )

TStreamId Root()const [inline]

Returns the stream id of the root stream.

Returns: The id of the root stream.

SetRootL ( TStreamId )

voidSetRootL(TStreamIdanId)[inline]

Sets the specified stream as the root stream.

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