CPosLmCompositeCriteria Class Reference
class CPosLmCompositeCriteria : public CPosLmSearchCriteria |
Constructor & Destructor Documentation
CPosLmCompositeCriteria(TCompositionType)
CPosLmCompositeCriteria(const CPosLmCompositeCriteria &)
~CPosLmCompositeCriteria()
~CPosLmCompositeCriteria | ( | ) | [virtual] |
Member Functions Documentation
AddArgument(CPosLmSearchCriteria *)
Argument(TUint)
Returns a criterion argument contained in this object.
This overload returns a const reference to the criterion argument. There is another overload which returns a non-const reference.
Parameters
TUint aIndex | The argument to read. Must be in the interval [0, NumOfArguments - 1], or this function will raise a USER-130 panic. |
Argument(TUint)
Returns a criterion argument contained in this object.
This overload returns a non-const reference to the criterion argument. There is another overload which returns a const reference.
Parameters
TUint aIndex | The argument to read. Must be in the interval [0, NumOfArguments - 1], or this function will raise a USER-130 panic. |
ClearArguments()
IMPORT_C void | ClearArguments | ( | ) | |
Removes and deletes all contained criterion objects.
The composite criterion must contain at least one argument, otherwise CPosLandmarkSearch::StartLandmarkSearchL will fail with error code KErrArgument.
CompositionType()
Returns the type of this composite criterion.
ConstructL()
void | ConstructL | ( | ) | [private] |
NumOfArguments()
IMPORT_C TUint | NumOfArguments | ( | ) | const |
Returns the number of criteria this object contains.
RemoveArgument(TUint)
Removes a criterion from this composition.
Note: This function does not delete the criterion object. Instead, the ownership of the object is passed to the caller.
Parameters
TUint aIndex | The argument to remove. Must be in the interval [0, NumOfArguments - 1], or this function will raise a USER-130 panic. |
SetCompositionType(TCompositionType)
Set the type of this composite criterion.
operator=(const CPosLmCompositeCriteria &)
Member Enumerations Documentation
Enum TCompositionType
Specifies the type of the composite criterion. ECompositionOR - is supported only when all the contained critarias are CPosLmTextCriteria. it is not supported for other criteria.
Enumerators
ECompositionAND = 0 |
Search results must match all contained criteria.
|
ECompositionOR = 1 |
Search result must match one of the contained criteria
ECompositionOR - is supported only when all the contained critarias are CPosLmTextCriteria. it is not supported for other criteria
|
Member Data Documentation
RPointerArray< CPosLmSearchCriteria > iArguments
TCompositionType
iCompositionType
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.