CTzLocalizedCityArray Class Reference
class CTzLocalizedCityArray : public CTzLocalizedArray< CTzLocalizedCity > |
An array of cities. This just passes function calls on to its templated base class, CTzLocalizedArray.
Member Functions Documentation
AppendL(CTzLocalizedCity *)
Appends a city to this array. Ownership of the pointer is transferred to the array.
At(TInt)
Returns the city at the specified index.
Parameters
TInt aIndex | Index of the element to get. |
Count()
IMPORT_C TInt | Count | ( | ) | const |
Returns the number of elements in the city array.
Find(CTzLocalizedCity *, TIdentityRelation< CTzLocalizedCity >)
Searches for a city in the array.
NewLC()
Allocates and constructs a new CTzLocalizedCityArray object. The pointer to the new object is left on the cleanup stack.
Remove(TInt)
IMPORT_C void | Remove | ( | TInt | aIndex | ) | |
Removes the city at the specified index.
Parameters
TInt aIndex | The index of the city to remove. |
Sort(TLinearOrder< CTzLocalizedCity >)
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.