CSearchTextSnippet Class Reference

class CSearchTextSnippet : public CBase

class for snippet

Represnts text snippet with info of whether snippet is incomplete

searchutilities.lib

Inherits from

Constructor & Destructor Documentation

CSearchTextSnippet()

CSearchTextSnippet()[private]

Default Constructor.

~CSearchTextSnippet()

~CSearchTextSnippet()[virtual]

Destructor of the class.

Member Functions Documentation

ConstructL(TBool, TBool)

voidConstructL(TBoolstartIncomplete,
TBoolendIncomplete
)[private]

Constructor of the class.

Parameters

TBool startIncomplete
TBool endIncomplete

NewL()

IMPORT_C CSearchTextSnippet *NewL()[static]

Symbian OS 2 phased constructor.

NewL(TBool, TBool)

IMPORT_C CSearchTextSnippet *NewL(TBoolstartIncomplete,
TBoolendIncomplete
)[static]

Symbian OS 2 phased constructor.

Parameters

TBool startIncomplete
TBool endIncomplete

PackL()

IMPORT_C HBufC8 *PackL()const

For Future Implementation

SetSnippetEndIncomplete(TBool)

IMPORT_C voidSetSnippetEndIncomplete(TBoolaSnippetEndIncomplete)

Setter for iSnippetEndIncomplete.

Parameters

TBool aSnippetEndIncomplete

SetSnippetL(const TDesC8 &)

IMPORT_C voidSetSnippetL(const TDesC8 &aSnippet)

Sets the snippet.

Parameters

const TDesC8 & aSnippetThe snippet.

SetSnippetStartIncomplete(TBool)

IMPORT_C voidSetSnippetStartIncomplete(TBoolaSnippetStartIncomplete)

Setter for iSnippetStartIncomplete.

Parameters

TBool aSnippetStartIncomplete

Snippet()

IMPORT_C const TDesC8 &Snippet()const

Gets the snippet.

SnippetEndIncomplete()

IMPORT_C TBoolSnippetEndIncomplete()const

Getter for iSnippetEndIncomplete.

SnippetStartIncomplete()

IMPORT_C TBoolSnippetStartIncomplete()const

Getter for iSnippetStartIncomplete.

return iSnippetStartIncomplete.

Member Data Documentation

HBufC8 * iSnippet

HBufC8 *iSnippet[private]

Snippet.

Own

TBool iSnippetEndIncomplete

TBool iSnippetEndIncomplete[private]

Indicates that the snippet end is incomplete.

TBool iSnippetStartIncomplete

TBool iSnippetStartIncomplete[private]

Indicates that the snippet start is incomplete.