CTzLocalizedTimeZoneArray Class Reference

class CTzLocalizedTimeZoneArray : public CTzLocalizedArray< CTzLocalizedTimeZone >

An array of time zones. This just passes function calls on to its templated base class, CTzLocalizedArray.

Inherits from

Member Functions Documentation

AppendL(CTzLocalizedTimeZone *)

IMPORT_C voidAppendL(CTzLocalizedTimeZone *aElement)

Appends a time zone to this array. Ownership of the pointer is transferred to the array.

Parameters

CTzLocalizedTimeZone * aElementA pointer to the time zone to add.

At(TInt)

IMPORT_C CTzLocalizedTimeZone &At(TIntaIndex)const

Returns the time zone at the specified index.

Parameters

TInt aIndexThe index of the element.

Count()

IMPORT_C TIntCount()const

Returns the number of elements in the array.

Find(CTzLocalizedTimeZone *, TIdentityRelation< CTzLocalizedTimeZone >)

IMPORT_C TIntFind(CTzLocalizedTimeZone *anEntry,
TIdentityRelation< CTzLocalizedTimeZone >aIdentityRelation
)

Searches for a time zone in this array.

Parameters

CTzLocalizedTimeZone * anEntryThe time zone to search for.
TIdentityRelation< CTzLocalizedTimeZone > aIdentityRelationThe search function to use.

NewL()

IMPORT_C CTzLocalizedTimeZoneArray *NewL()[static]

Allocates and constructs a new CTzLocalizedTimeZoneArray object.

NewLC()

IMPORT_C CTzLocalizedTimeZoneArray *NewLC()[static]

Allocates and constructs a new CTzLocalizedTimeZoneArray object. The pointer to the new object is left on the cleanup stack.

Remove(TInt)

IMPORT_C voidRemove(TIntaIndex)

Removes the time zone at the specified index.

Parameters

TInt aIndexThe index of the time zone to remove.

ReserveL(TInt)

voidReserveL(TIntaCount)

Parameters

TInt aCount

Sort(TLinearOrder< CTzLocalizedTimeZone >)

IMPORT_C voidSort(TLinearOrder< CTzLocalizedTimeZone >anOrder)

Sorts the array.

Parameters

TLinearOrder< CTzLocalizedTimeZone > anOrderThe sorting function to use.