Location:
tzlocalizationdatatypes.h
Link against: timezonelocalization.lib
class CTzLocalizedCityArray : public CTzLocalizedArray< CTzLocalizedCity >;
An array of cities. This just passes function calls on to its templated base class, CTzLocalizedArray
.
CTzLocalizedArray< CTzLocalizedCity >
- No description.
CTzLocalizedCityArray
- An array of cities
Defined in CTzLocalizedCityArray
:
AppendL()
, At()
, Count()
, Find()
, NewL()
, NewLC()
, Remove()
, Sort()
static IMPORT_C CTzLocalizedCityArray *NewL();
Allocates and constructs a new CTzLocalizedCityArray object.
|
static IMPORT_C CTzLocalizedCityArray *NewLC();
Allocates and constructs a new CTzLocalizedCityArray object. The pointer to the new object is left on the cleanup stack.
|
IMPORT_C CTzLocalizedCity &At(TInt aIndex) const;
Returns the city at the specified index.
|
|
IMPORT_C TInt Count() const;
Returns the number of elements in the city array.
|
IMPORT_C void AppendL(CTzLocalizedCity *aCity);
Appends a city to this array. Ownership of the pointer is transferred to the array.
|
IMPORT_C void Remove(TInt aIndex);
Removes the city at the specified index.
|
IMPORT_C void Sort(TLinearOrder< CTzLocalizedCity > anOrder);
Sorts this array.
|
IMPORT_C TInt Find(CTzLocalizedCity *anEntry, TIdentityRelation< CTzLocalizedCity > aIdentityRelation);
Searches for a city in the array.
|
|