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 *)

void AddL ( CMceDictionaryItem * aPair )

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

Parameters

CMceDictionaryItem * aPair

Delete(TInt)

void Delete ( TInt aKey )

Deletes a pair that has given key from the dictionary.

Parameters

TInt aKey the key

Pair(TInt)

CMceDictionaryItem * Pair ( TInt aKey ) 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]