API published in: S60 3rd Ed
Link against: eposlmsearchlib.lib eposlmmultidbsearch.lib
Required Capabilities
None
Exceptions
The capability ReadUserData is required in:
CPosLandmarkSearch::StartLandmarkSearchL( const CPosLmSearchCriteria & aCriteria, TBool aSearchOnlyPreviousMatches = EFalse );
CPosLandmarkSearch::StartLandmarkSearchL( const CPosLmSearchCriteria & aCriteria, const TPosLmSortPref & aSortPref, TBool aSearchOnlyPreviousMatches = EFalse );
CPosLandmarkSearch::StartCategorySearchL( const CPosLmSearchCriteria & aCriteria, CPosLmCategoryManager::TCategorySortPref aSortPref, TBool aSearchOnlyPreviousMatches = EFalse );
CPosLmMultiDbSearch::StartLandmarkSearchL( const CPosLmSearchCriteria & aCriteria, TBool aSearchOnlyPreviousMatches = EFalse );
CPosLmMultiDbSearch::StartLandmarkSearchL( const CPosLmSearchCriteria & aCriteria, const TPosLmSortPref & aSortPref, TBool aSearchOnlyPreviousMatches = EFalse );
CPosLmMultiDbSearch::StartCategorySearchL( const CPosLmSearchCriteria & aCriteria, CPosLmCategoryManager::TCategorySortPref aSortPref, TBool aSearchOnlyPreviousMatches = EFalse );
Other Information
The capability NetworkServices is required to work with remote databases.
#include <epos_cposlmsearchcriteria.h>
Inherited by CPosLmAreaCriteria, CPosLmCategoryCriteria, CPosLmCatNameCriteria, CPosLmCompositeCriteria, CPosLmIdListCriteria, CPosLmNearestCriteria, and CPosLmTextCriteria.
Criterion classes are used in CPosLandmarkSearch to specify what to search for. It specifies what criteria the landmark must fulfill to be considered a search match.
Public Types |
|
enum | TCriteriaType { ECriteriaArea = 0, ECriteriaText, ECriteriaComposite, ECriteriaCategory, ECriteriaFindNearest, ECriteriaIdList, ECriteriaCategoryByName = 100 } |
Specifies the subclass of the criterion object. More... |
|
Public Member Functions |
|
virtual | ~CPosLmSearchCriteria () |
Destructor. |
|
IMPORT_C TCriteriaType | CriteriaType () const |
Returns the criterion type. |
|
Protected Member Functions |
|
CPosLmSearchCriteria (TCriteriaType aCriteriaType) |
|
Specifies the subclass of the criterion object.
|
|
Destructor. |
|
|
Returns the criterion type.
|