CPosLmSearchCriteria Class Reference

API published in: S60 3rd Ed

Link against: eposlmsearchlib.lib eposlmmultidbsearch.lib

Capability Information

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.


Detailed Description

Abstract base class for landmark search criterion classes.

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)

Member Enumeration Documentation

enum CPosLmSearchCriteria::TCriteriaType
 

Specifies the subclass of the criterion object.

Enumerator:
ECriteriaArea  subclass CPosLmAreaCriteria
ECriteriaText  subclass CPosLmTextCriteria
ECriteriaComposite  subclass CPosLmCompositeCriteria
ECriteriaCategory  subclass CPosLmCategoryCriteria
ECriteriaFindNearest  subclass CPosLmNearestCriteria
ECriteriaIdList  subclass CPosLmIdListCriteria
ECriteriaCategoryByName  subclass CPosLmCatNameCriteria

Constructor & Destructor Documentation

virtual CPosLmSearchCriteria::~CPosLmSearchCriteria  )  [virtual]
 

Destructor.

CPosLmSearchCriteria::CPosLmSearchCriteria TCriteriaType  aCriteriaType  )  [protected]
 

Member Function Documentation

IMPORT_C TCriteriaType CPosLmSearchCriteria::CriteriaType  )  const
 

Returns the criterion type.

Returns:
The criterion type.

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top