class CDictionaryStore : public CBase |
Dictionary store interface.
This is an abstract class which provides the necessary interface for using concrete dictionary stores.
A dictionary store is a store where a stream is accessed by UID ( TUid ), rather than directly by stream id ( TStreamId ).
This type of store contains streams in the usual way but, in addition, the root stream is a stream dictionary. The stream dictionary provides a list of two-way associations between unique identifiers and stream ids.
Note that a dictionary store object does not derive from CStreamStore , but owns a persistent store and a stream dictionary as part of its implementation.
CStreamDictionary CPersistentStore CDictionaryFileStore TUid TStreamId
Public Member Functions | |
---|---|
~CDictionaryStore () | |
IMPORT_C TInt | Commit () |
IMPORT_C void | CommitL () |
IMPORT_C TBool | IsNullL () |
IMPORT_C TBool | IsPresentL ( TUid ) |
IMPORT_C void | Remove ( TUid ) |
IMPORT_C void | RemoveL ( TUid ) |
IMPORT_C void | Revert () |
IMPORT_C void | RevertL () |
Protected Member Functions | |
---|---|
IMPORT_C void | ConstructL () |
Private Member Functions | |
---|---|
CStreamDictionary * | DictionaryL () |
MStreamBuf * | GetSinkL ( TUid ) |
MStreamBuf * | GetSourceL ( TUid ) |
Protected Attributes | |
---|---|
CPersistentStore * | iStore |
Private Attributes | |
---|---|
__MUTABLE CStreamDictionary * | iDictionary |
TBool | iDictionaryHasChanged |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.