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 TInt Commit ( )

CommitL()

IMPORT_C void CommitL ( )

ConstructL()

IMPORT_C void ConstructL ( ) [protected]

DictionaryL()

CStreamDictionary * DictionaryL ( ) const [private]

GetSinkL(TUid)

MStreamBuf * GetSinkL ( TUid aUid ) [private]

Parameters

TUid aUid

GetSourceL(TUid)

MStreamBuf * GetSourceL ( TUid aUid ) const [private]

Parameters

TUid aUid

IsNullL()

IMPORT_C TBool IsNullL ( ) const

IsPresentL(TUid)

IMPORT_C TBool IsPresentL ( TUid aUid ) const

Parameters

TUid aUid

Remove(TUid)

IMPORT_C void Remove ( TUid aUid )

Parameters

TUid aUid

RemoveL(TUid)

IMPORT_C void RemoveL ( TUid aUid )

Parameters

TUid aUid

Revert()

IMPORT_C void Revert ( )

RevertL()

IMPORT_C void RevertL ( )

Member Data Documentation

__MUTABLE CStreamDictionary * iDictionary

__MUTABLE CStreamDictionary * iDictionary [private]

TBool iDictionaryHasChanged

TBool iDictionaryHasChanged [private]

CPersistentStore * iStore

CPersistentStore * iStore [protected]