class TPosLmSortPref |
Class for specifying sort preference.
A sort pref object can be passed to some listing and searching functions in the API, to specify a sorting order for the returned landmark list.
Landmark sorting is not case sensitive.
Public Member Functions | |
---|---|
TPosLmSortPref(CPosLandmark::TAttributes, TSortOrder) | |
IMPORT_C CPosLandmark::TAttributes | LandmarkAttributeToSortBy() |
IMPORT_C void | SetSortByLandmarkAttribute(CPosLandmark::TAttributes, TSortOrder) |
IMPORT_C TSortOrder | SortOrder() |
Public Member Enumerations | |
---|---|
enum | TSortOrder { EAscending = 0, EDescending } |
Private Attributes | |
---|---|
CPosLandmark::TAttributes | iLandmarkAttribute |
TSortOrder | iSortOrder |
TUint8 | iUnusedData |
IMPORT_C | TPosLmSortPref | ( | CPosLandmark::TAttributes | aLandmarkAttribute, |
TSortOrder | aSortOrder = EAscending | |||
) |
C++ constructor.
Only one landmark attribute can be specified here, not a bitmap of landmark attributes.
Landmark sorting is not case sensitive.
CPosLandmark::TAttributes aLandmarkAttribute | The landmark attribute to sort by. |
TSortOrder aSortOrder = EAscending | Ascending or descending sort order. |
IMPORT_C CPosLandmark::TAttributes | LandmarkAttributeToSortBy | ( | ) | const |
Gets the landmark attribute to sort by.
IMPORT_C void | SetSortByLandmarkAttribute | ( | CPosLandmark::TAttributes | aLandmarkAttribute, |
TSortOrder | aSortOrder = EAscending | |||
) |
Sets the landmark attribute to sort by.
Landmark sorting is not case sensitive.
CPosLandmark::TAttributes aLandmarkAttribute | The landmark attribute to sort by. |
TSortOrder aSortOrder = EAscending | The preferred sort order. |
Specifies the sort order.
EAscending = 0 |
Ascending sort order |
EDescending |
Descending sort order |
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.