CPosLmCatNameCriteria Class Reference
class CPosLmCatNameCriteria : public CPosLmSearchCriteria |
Criterion for searching landmark categories with a certain name.
Wild-card characters are supported.
The client specifies the search pattern and starts the search using CPosLandmarkSearch . The search returns all categories which match the search pattern.
This criterion is only valid when searching for landmark categories, i.e. if it is passed to CPosLandmarkSearch::StartLandmarkSearchL, the function will fail with error code KErrArgument.
eposlmsearchlib.lib
- Since
- S60 3.0
Constructor & Destructor Documentation
CPosLmCatNameCriteria()
CPosLmCatNameCriteria | ( | ) | [private] |
CPosLmCatNameCriteria(const CPosLmCatNameCriteria &)
~CPosLmCatNameCriteria()
~CPosLmCatNameCriteria | ( | ) | [virtual] |
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
SearchPattern()
IMPORT_C TPtrC | SearchPattern | ( | ) | const |
Retrieves the search pattern.
SetSearchPatternL(const TDesC &)
IMPORT_C void | SetSearchPatternL | ( | const TDesC & | aSearchPattern | ) | |
Sets the search pattern.
A non-empty search pattern must be set, otherwise CPosLandmarkSearch::StartCategorySearchL will leave with error code KErrArgument.
The search is case insensitive.
Wild-card characters "?" and "*" are supported in the search string. "?" matches a single occurrence of any character and "*" matches zero or more consecutive occurrences of any characters.
-
leave
- KErrArgument The search pattern is longer than KPosLmMaxCategoryNameLength.
Parameters
const TDesC & aSearchPattern | The pattern used to find categories. |
operator=(const CPosLmCatNameCriteria &)
Member Data Documentation
HBufC * iSearchPattern
HBufC * | iSearchPattern | [private] |
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.