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)

void ConstructL ( TBool startIncomplete,
TBool endIncomplete
) [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 ( TBool startIncomplete,
TBool endIncomplete
) [static]

Symbian OS 2 phased constructor.

Parameters

TBool startIncomplete
TBool endIncomplete

PackL()

IMPORT_C HBufC8 * PackL ( ) const

For Future Implementation

SetSnippetEndIncomplete(TBool)

IMPORT_C void SetSnippetEndIncomplete ( TBool aSnippetEndIncomplete )

Setter for iSnippetEndIncomplete.

Parameters

TBool aSnippetEndIncomplete

SetSnippetL(const TDesC8 &)

IMPORT_C void SetSnippetL ( const TDesC8 & aSnippet )

Sets the snippet.

Parameters

const TDesC8 & aSnippet The snippet.

SetSnippetStartIncomplete(TBool)

IMPORT_C void SetSnippetStartIncomplete ( TBool aSnippetStartIncomplete )

Setter for iSnippetStartIncomplete.

Parameters

TBool aSnippetStartIncomplete

Snippet()

IMPORT_C const TDesC8 & Snippet ( ) const

Gets the snippet.

SnippetEndIncomplete()

IMPORT_C TBool SnippetEndIncomplete ( ) const

Getter for iSnippetEndIncomplete.

SnippetStartIncomplete()

IMPORT_C TBool SnippetStartIncomplete ( ) 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.