#include <s32stor.h>
class CPersistentStore : public CStreamStore |
Protected Attributes | |
---|---|
TStreamId | iRoot |
Public Member Functions | |
---|---|
TStreamId | Root() |
void | SetRootL(TStreamId) |
Protected Member Functions | |
---|---|
CPersistentStore() |
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
TStreamId | Root | ( | ) | const [inline] |
Returns the stream id of the root stream.
Returns: The id of the root stream.
void | SetRootL | ( | TStreamId | anId | ) | [inline] |
Sets the specified stream as the root stream.
Parameter | Description |
---|---|
anId | The id of the stream which is to be the root stream of this store. |