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
Public Member Functions | |
---|---|
TStreamId | Root() |
void | SetRootL(TStreamId) |
Protected Member Functions | |
---|---|
CPersistentStore() |
Private Member Functions | |
---|---|
IMPORT_C void | DoSetRootL(TStreamId) |
Protected Attributes | |
---|---|
TStreamId | iRoot |
IMPORT_C void | DoSetRootL | ( | TStreamId | anId | ) | [private, virtual] |
TStreamId anId |
TStreamId | Root | ( | ) | const [inline] |
Returns the stream id of the root stream.
The id of the root stream.
void | SetRootL | ( | TStreamId | anId | ) | [inline] |
Sets the specified stream as the root stream.
TStreamId anId | The id of the stream which is to be the root stream of this store. |