class CSearchQuery : public CBase |
This class is encapsulates the search request
This class encapsulates search condition( what to search ) and in what all plugins to search( where to search )
searchutilities.lib
Public Member Functions | |
---|---|
~CSearchQuery () | |
IMPORT_C const CSearchCondition & | Condition () |
IMPORT_C void | ExternalizeL ( RWriteStream &) |
IMPORT_C void | GetTargetContent ( RArray < TUid > &) |
IMPORT_C CSearchQuery * | NewL () |
IMPORT_C CSearchQuery * | NewL ( RReadStream &) |
IMPORT_C void | SetCondition ( CSearchCondition *) |
IMPORT_C void | SetSnippetSize (const TDesC8 &, const TDesC8 &) |
IMPORT_C void | SetTargetContent (const RArray < TUid > &) |
IMPORT_C void | SetTargetService ( TUid ) |
IMPORT_C TUid | TargetService () |
Private Member Functions | |
---|---|
CSearchQuery () | |
void | ConstructL ( RReadStream &) |
Private Attributes | |
---|---|
CSearchCondition * | iCondition |
RArray < TUid > | iContentIdArray |
TUid | iServiceId |
void | ConstructL | ( | RReadStream & | aStream | ) | [private] |
2nd phase constructor
RReadStream & aStream |
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
Extrenalizes the object
RWriteStream & aStream | - Stream |
IMPORT_C void | GetTargetContent | ( | RArray < TUid > & | aContentIdArray | ) | const |
Get the target content that should be searched.
IMPORT_C CSearchQuery * | NewL | ( | RReadStream & | aStream | ) | [static] |
1st phase constructor
RReadStream & aStream |
IMPORT_C void | SetCondition | ( | CSearchCondition * | aCondition | ) |
Sets the search condition. With this the search scope can be limited to match only the specified condition. Must be set before requesting for search.
CSearchCondition * aCondition |
IMPORT_C void | SetSnippetSize | ( | const TDesC8 & | aFormat, |
const TDesC8 & | aSize | |||
) |
IMPORT_C void | SetTargetContent | ( | const RArray < TUid > & | aContentIdArray | ) |
Set the target content that should be searched. Must be set before requesting for search.
IMPORT_C void | SetTargetService | ( | TUid | aServiceId | ) |
Set the service that the search should be limited to. This is optional. If not set, search is targeted to all services.
TUid aServiceId | Uid of the service. |
IMPORT_C TUid | TargetService | ( | ) | const |
Get the service that the search should be limited to.
CSearchCondition * | iCondition | [private] |
Search Condition( what to search )
RArray < TUid > | iContentIdArray | [private] |
Array of content ids( where to search )
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.