RSenPointerMap Class Reference

class RSenPointerMap
Public Member Functions
RSenPointerMap(TBool, TBool)
~RSenPointerMap()
TInt Append(const K *, const V *)
TInt Count()
TInt Find(const K &)
TInt FindReverse(const K &)
TInt FindValue(const V &)
TInt Insert(const K *, const V *)
K *KeyAt(TInt)
TInt Remove(const V &)
TInt RemoveAt(TInt)
TInt RemoveByKey(const K &)
voidReset()
TInt UpdateValue(const K *, const V *)
const V *ValueAt(TInt)
Private Attributes
RPointerArray< K >iKeys
TBool iTakeOwnershipKey
TBool iTakeOwnershipValue
RPointerArray< V >iValues

Constructor & Destructor Documentation

RSenPointerMap(TBool, TBool)

RSenPointerMap(TBoolaTakeOwnershipKey,
TBoolaTakeOwnershipValue
)[inline]

Parameters

TBool aTakeOwnershipKey
TBool aTakeOwnershipValue

~RSenPointerMap()

~RSenPointerMap()[inline]

Member Functions Documentation

Append(const K *, const V *)

TInt Append(const K *aKey,
const V *aValue
)[inline]

Parameters

const K * aKey
const V * aValue

Count()

TInt Count()const [inline]

Find(const K &)

TInt Find(const K &aKey)const [inline]

Parameters

const K & aKey

FindReverse(const K &)

TInt FindReverse(const K &aKey)const [inline]

Parameters

const K & aKey

FindValue(const V &)

TInt FindValue(const V &aValue)const [inline]

Parameters

const V & aValue

Insert(const K *, const V *)

TInt Insert(const K *aKey,
const V *aValue
)[inline]

Parameters

const K * aKey
const V * aValue

KeyAt(TInt)

K *KeyAt(TIntaIndex)[inline]

Parameters

TInt aIndex

Remove(const V &)

TInt Remove(const V &aValue)[inline]

Parameters

const V & aValue

RemoveAt(TInt)

TInt RemoveAt(TIntaIndex)[inline]

Parameters

TInt aIndex

RemoveByKey(const K &)

TInt RemoveByKey(const K &aKey)[inline]

Parameters

const K & aKey

Reset()

voidReset()[inline]

UpdateValue(const K *, const V *)

TInt UpdateValue(const K *aKey,
const V *aValue
)[inline]

Parameters

const K * aKey
const V * aValue

ValueAt(TInt)

const V *ValueAt(TIntaIndex)const [inline]

Parameters

TInt aIndex

Member Data Documentation

RPointerArray< K > iKeys

RPointerArray< K >iKeys[private]

TBool iTakeOwnershipKey

TBool iTakeOwnershipKey[private]

TBool iTakeOwnershipValue

TBool iTakeOwnershipValue[private]

RPointerArray< V > iValues

RPointerArray< V >iValues[private]