CDictionaryStore Class Reference

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

Inherits from

Constructor & Destructor Documentation

~CDictionaryStore()

IMPORT_C~CDictionaryStore()

Member Functions Documentation

Commit()

IMPORT_C TIntCommit()

CommitL()

IMPORT_C voidCommitL()

ConstructL()

IMPORT_C voidConstructL()[protected]

DictionaryL()

CStreamDictionary *DictionaryL()const [private]

GetSinkL(TUid)

MStreamBuf *GetSinkL(TUidaUid)[private]

Parameters

TUid aUid

GetSourceL(TUid)

MStreamBuf *GetSourceL(TUidaUid)const [private]

Parameters

TUid aUid

IsNullL()

IMPORT_C TBoolIsNullL()const

IsPresentL(TUid)

IMPORT_C TBoolIsPresentL(TUidaUid)const

Parameters

TUid aUid

Remove(TUid)

IMPORT_C voidRemove(TUidaUid)

Parameters

TUid aUid

RemoveL(TUid)

IMPORT_C voidRemoveL(TUidaUid)

Parameters

TUid aUid

Revert()

IMPORT_C voidRevert()

RevertL()

IMPORT_C voidRevertL()

Member Data Documentation

__MUTABLE CStreamDictionary * iDictionary

__MUTABLE CStreamDictionary *iDictionary[private]

TBool iDictionaryHasChanged

TBool iDictionaryHasChanged[private]

CPersistentStore * iStore

CPersistentStore *iStore[protected]