class CNcdSearchFilter : public CBase |
Public Member Functions | |
---|---|
~CNcdSearchFilter () | |
IMPORT_C void | AddKeywordL (const TDesC &) |
TUint | ContentPurposes () |
void | ExternalizeL ( RWriteStream &) |
void | InternalizeL ( RReadStream &) |
const MDesCArray & | Keywords () |
IMPORT_C CNcdSearchFilter * | NewL () |
IMPORT_C CNcdSearchFilter * | NewL (const CNcdSearchFilter &) |
IMPORT_C CNcdSearchFilter * | NewL ( RReadStream &) |
IMPORT_C CNcdSearchFilter * | NewLC () |
IMPORT_C CNcdSearchFilter * | NewLC (const CNcdSearchFilter &) |
IMPORT_C CNcdSearchFilter * | NewLC ( RReadStream &) |
TUint | RecursionDepth () |
MNcdSearchFilter::TSearchMode | SearchMode () |
IMPORT_C void | SetContentPurposes ( TUint ) |
IMPORT_C void | SetRecursionDepthL ( TUint ) |
IMPORT_C void | SetSearchMode ( MNcdSearchFilter::TSearchMode ) |
Protected Member Functions | |
---|---|
CNcdSearchFilter () | |
void | ConstructL () |
Private Attributes | |
---|---|
CDesCArray * | iKeywords |
TUint | iPurposes |
TUint | iRecursionDepth |
MNcdSearchFilter::TSearchMode | iSearchMode |
IMPORT_C void | AddKeywordL | ( | const TDesC & | aKeyword | ) |
Adds a search keyword. By default, no keywords are set
const TDesC & aKeyword | Search keyword to add. |
void | ExternalizeL | ( | RWriteStream & | aStream | ) | [virtual] |
Externalize member data.
RWriteStream & aStream | Destination stream. |
void | InternalizeL | ( | RReadStream & | aStream | ) | [virtual] |
Internalize member data.
RReadStream & aStream | Source stream. |
IMPORT_C CNcdSearchFilter * | NewL | ( | ) | [static] |
Default factory method for CNcdSearchFilter objects. Leaves contents uninitialized.
IMPORT_C CNcdSearchFilter * | NewL | ( | const CNcdSearchFilter & | aFilter | ) | [static] |
Factory method for CNcdSearchFilter objects. Initializes as a copy of another filter.
const CNcdSearchFilter & aFilter | Initialization copy source. |
IMPORT_C CNcdSearchFilter * | NewL | ( | RReadStream & | aStream | ) | [static] |
Factory method for CNcdSearchFilter objects. Initializes from a stream externalized with CNcdSearchFilter::ExternalizeL() .
RReadStream & aStream | Initialization source stream. |
IMPORT_C CNcdSearchFilter * | NewLC | ( | ) | [static] |
Default factory method for CNcdSearchFilter objects. Leaves contents uninitialized. Leaves object pointer on cleanup stack.
IMPORT_C CNcdSearchFilter * | NewLC | ( | const CNcdSearchFilter & | aFilter | ) | [static] |
Factory method for CNcdSearchFilter objects. Initializes as a copy of another filter. Leaves object pointer on cleanup stack.
const CNcdSearchFilter & aFilter | Initialization copy source. |
IMPORT_C CNcdSearchFilter * | NewLC | ( | RReadStream & | aStream | ) | [static] |
Factory method for CNcdSearchFilter objects. Initializes from a stream externalized with CNcdSearchFilter::ExternalizeL() . Leaves object pointer on cleanup stack.
RReadStream & aStream | Initialization source stream. |
IMPORT_C void | SetContentPurposes | ( | TUint | aFlags | ) |
Set flags for filtering by content purpose. By default, no content flags are set
TNcdItemPurpose
TUint aFlags | Content flags for filtering. A combination of TNcdItemPurpose flags. |
IMPORT_C void | SetRecursionDepthL | ( | TUint | aRecursionDepth | ) |
Set recursion depth
By default, recursion depth is 2. Depth of 0 disabled recursion
TUint aRecursionDepth | Depth of recursion |
IMPORT_C void | SetSearchMode | ( | MNcdSearchFilter::TSearchMode | aMode | ) |
Set search mode
By default, mode is ENormal
MNcdSearchFilter::TSearchMode aMode | Search mode |
MNcdSearchFilter::TSearchMode | iSearchMode | [private] |
Search mode
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.