CSearchBooleanCondition Class Reference
class CSearchBooleanCondition : public CSearchCondition
|
Represents a boolean condition in search criteria. Boolean condition always contains other conditions that are linked to a boolean clause. I.e. this can be used to link several single conditions with boolean operators. E.g. sender = John Smith AND subject = hello. This type of query is formed by having one boolean condition inserted with to simple conditions both linking to EBooleanMust clauses. Currently nested boolean conditions are not supported.
searchutilities.lib
Constructor & Destructor Documentation
CSearchBooleanCondition(CSearchCondition::TConditionType)
~CSearchBooleanCondition()
~CSearchBooleanCondition
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddConditionL(CSearchCondition *, TBooleanClause)
Adds a new condition and boolean clause to condition array. Adding another boolean condition is not currently supported and function will leave with KErrArgument in such a case.
ConstructL(RReadStream &)
ExternalizeL(RWriteStream &)
IMPORT_C void
|
ExternalizeL
|
(
|
RWriteStream
&
|
aStream
|
)
|
const [virtual]
|
GetConditions(RPointerArray< CSearchCondition > &, RArray< TBooleanClause > &)
Member Enumerations Documentation
Enum TBooleanClause
Clauses, linking conditions
Enumerators
EBooleanMust
|
|
EBooleanShould
|
|
EBooleanMustNot
|
|
Member Data Documentation
RArray< TBooleanClause > iClauses
Clauses to link Simple Conditions
RPointerArray< CSearchCondition > iConditions
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.