CMceDictionary Class Reference

class CMceDictionary : public CBase

Cictionary that holds key-value pairs and allows modification of them.

Inherits from

Constructor & Destructor Documentation

~CMceDictionary()

~CMceDictionary()

Destructor

Member Functions Documentation

AddL(CMceDictionaryItem *)

voidAddL(CMceDictionaryItem *aPair)

Adds a key-value pair to the dictionary. aPair the pair, ownership is transfered. The pair

Parameters

CMceDictionaryItem * aPair

Delete(TInt)

voidDelete(TIntaKey)

Deletes a pair that has given key from the dictionary.

Parameters

TInt aKeythe key

Pair(TInt)

CMceDictionaryItem *Pair(TIntaKey)const

Returns the dictionary item with given key. Returns NULL, if the item is not found.

Parameters

TInt aKey

Member Data Documentation

RPointerArray< CMceDictionaryItem > iPairs

RPointerArray< CMceDictionaryItem >iPairs[private]