CNcdSearchFilter Class Reference
class CNcdSearchFilter : public CBase |
Constructor & Destructor Documentation
CNcdSearchFilter()
CNcdSearchFilter | ( | ) | [protected] |
~CNcdSearchFilter()
~CNcdSearchFilter | ( | ) | [virtual] |
Member Functions Documentation
AddKeywordL(const TDesC &)
IMPORT_C void | AddKeywordL | ( | const TDesC & | aKeyword | ) | |
Adds a search keyword. By default, no keywords are set
Parameters
const TDesC & aKeyword | Search keyword to add. |
ConstructL()
void | ConstructL | ( | ) | [protected] |
Second phase constructor.
ContentPurposes()
TUint
| ContentPurposes | ( | ) | const [virtual] |
ExternalizeL(RWriteStream &)
InternalizeL(RReadStream &)
Keywords()
const MDesCArray & | Keywords | ( | ) | const [virtual] |
NewL()
Default factory method for CNcdSearchFilter objects. Leaves contents uninitialized.
NewL(const CNcdSearchFilter &)
Factory method for CNcdSearchFilter objects. Initializes as a copy of another filter.
NewLC()
Default factory method for CNcdSearchFilter objects. Leaves contents uninitialized. Leaves object pointer on cleanup stack.
NewLC(const CNcdSearchFilter &)
Factory method for CNcdSearchFilter objects. Initializes as a copy of another filter. Leaves object pointer on cleanup stack.
RecursionDepth()
TUint
| RecursionDepth | ( | ) | const [virtual] |
SetContentPurposes(TUint)
IMPORT_C void | SetContentPurposes | ( | TUint | aFlags | ) | |
Set flags for filtering by content purpose. By default, no content flags are set
TNcdItemPurpose
Parameters
TUint aFlags | Content flags for filtering. A combination of TNcdItemPurpose flags. |
SetRecursionDepthL(TUint)
IMPORT_C void | SetRecursionDepthL | ( | TUint | aRecursionDepth | ) | |
Set recursion depth
By default, recursion depth is 2. Depth of 0 disabled recursion
-
leave
- KErrArgument if aRecursionDepth is greater than 5
Parameters
TUint aRecursionDepth | Depth of recursion |
SetSearchMode(MNcdSearchFilter::TSearchMode)
Set search mode
By default, mode is ENormal
Member Data Documentation
CDesCArray * iKeywords
Keywords to filter the search based on
TUint
iPurposes
Purposes to filter the search based on
TUint
iRecursionDepth
TUint
| iRecursionDepth | [private] |
MNcdSearchFilter::TSearchMode
iSearchMode
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.