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

void AppendL ( T * aElement ) [protected, inline]

Appends aElement to this array.

Parameters

T * aElement The element to add.

At(TInt)

T & At ( TInt aIndex ) const [protected, inline]

Returns the element at the specified index.

Parameters

TInt aIndex Index 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 > aIdentityRelation finding function to use.

Remove(TInt)

void Remove ( TInt aIndex ) [protected, inline]

Removes the element at the specified index.

Parameters

TInt aIndex The index of the element to remove.

ReserveL(TInt)

void ReserveL ( TInt aCount ) [protected, inline]

Parameters

TInt aCount

Sort(TLinearOrder< T >)

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

Sorts this array.

Parameters

TLinearOrder < T > aOrder The sorting function to use.

Member Data Documentation

RPointerArray< T > iArray

RPointerArray < T > iArray [private]