SFindInTextDefWordParser Struct Reference

#include <app/cntdb.h>

struct SFindInTextDefWordParser
Public Attributes
const TDesC *iSearchString
CDesCArray *iWordArray
Public Member Functions
SFindInTextDefWordParser(const TDesC *, CDesCArray *)

Detailed Description

Search string parser struct.

An object of this type is used in the callback parser function passed to CContactDatabase::FindInTextDefLC(). The parser function must walk through and parse iSearchString, adding any words found to iWordArray.

Member Attribute Documentation

iSearchString

const TDesC *iSearchString

Pointer to the input string to be parsed.

iWordArray

CDesCArray *iWordArray

Pointer to the array to which words parsed from the input string should be added.

Constructor & Destructor Documentation

SFindInTextDefWordParser ( const TDesC *, CDesCArray * )

SFindInTextDefWordParser(const TDesC *aSearchString,
CDesCArray *aWordArray
)[inline]

Initialises the search string and the word array.

Parameters
aSearchStringPointer to the input string to be parsed.
aWordArrayPointer to the array to which words parsed from the input string should be added.