Location:
tzlocalizationdatatypes.h
Link against: timezonelocalization.lib
class CTzLocalizedTimeZoneArray : public CTzLocalizedArray< CTzLocalizedTimeZone >;
Description
An array of time zones. This just passes function calls on to its templated base class, CTzLocalizedArray
.
Derivation
CTzLocalizedArray< CTzLocalizedTimeZone >
- No description.
CTzLocalizedTimeZoneArray
- An array of time zones
Members
Defined in CTzLocalizedTimeZoneArray
:
AppendL()
, At()
, Count()
, Find()
, NewL()
, NewLC()
, Remove()
, Sort()
See also
static IMPORT_C CTzLocalizedTimeZoneArray *NewL();
Description
Allocates and constructs a new CTzLocalizedTimeZoneArray object.
Return value
static IMPORT_C CTzLocalizedTimeZoneArray *NewLC();
Description
Allocates and constructs a new CTzLocalizedTimeZoneArray object. The pointer to the new object is left on the cleanup stack.
Return value
IMPORT_C CTzLocalizedTimeZone &At(TInt aIndex) const;
Description
Returns the time zone at the specified index.
Parameters
TInt aIndex |
The index of the element.
|
|
Return value
IMPORT_C TInt Count() const;
Description
Returns the number of elements in the array.
Return value
TInt
|
The number of elements in the array.
|
|
IMPORT_C void AppendL(CTzLocalizedTimeZone *aElement);
Description
Appends a time zone to this array. Ownership of the pointer is transferred to the array.
Parameters
IMPORT_C void Remove(TInt aIndex);
Description
Removes the time zone at the specified index.
Parameters
TInt aIndex |
The index of the time zone to remove.
|
|
IMPORT_C void Sort(TLinearOrder< CTzLocalizedTimeZone > anOrder);
Description
Sorts the array.
Parameters
IMPORT_C TInt Find(CTzLocalizedTimeZone *anEntry, TIdentityRelation< CTzLocalizedTimeZone > aIdentityRelation);
Description
Searches for a time zone in this array.
Parameters
Return value
TInt
|
The index of the first matching object in the array, or KErrNotFound if no match is found.
|
|