CTzLocalizedArray Class Reference

class CTzLocalizedArray : public CBase

Template for arrays of localized objects. Implemented using a thin template. All functions are inline.

Inherits from

Constructor & Destructor Documentation

CTzLocalizedArray()

CTzLocalizedArray()[protected, inline]

Default constructor

~CTzLocalizedArray()

~CTzLocalizedArray()[protected, inline]

Destructor

Member Functions Documentation

AppendL(T *)

voidAppendL(T *aElement)[protected, inline]

Appends aElement to this array.

Parameters

T * aElementThe element to add.

At(TInt)

T &At(TIntaIndex)const [protected, inline]

Returns the element at the specified index.

Parameters

TInt aIndexIndex of the element to get.

Count()

TInt Count()const [protected, inline]

Returns the number of elements in the array.

Find(T *, TIdentityRelation< T >)

TInt Find(T *aEntry,
TIdentityRelation< T >aIdentityRelation
)[protected, inline]

Finds an element in this array.

Parameters

T * aEntry
TIdentityRelation< T > aIdentityRelationfinding function to use.

Remove(TInt)

voidRemove(TIntaIndex)[protected, inline]

Removes the element at the specified index.

Parameters

TInt aIndexThe index of the element to remove.

ReserveL(TInt)

voidReserveL(TIntaCount)[protected, inline]

Parameters

TInt aCount

Sort(TLinearOrder< T >)

voidSort(TLinearOrder< T >aOrder)[protected, inline]

Sorts this array.

Parameters

TLinearOrder< T > aOrderThe sorting function to use.

Member Data Documentation

RPointerArray< T > iArray

RPointerArray< T >iArray[private]