CPsPattern Class Reference

class CPsPattern : public CBase

Utility class to hold a result pattern for predictive search.

pcsutils.lib
Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

CPsPattern()

CPsPattern()[private]

Default Constructor

~CPsPattern()

IMPORT_C~CPsPattern()

Destructor

Member Functions Documentation

ConstructL()

voidConstructL()[private]

Second phase constructor

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)[virtual]

Writes 'this' to the stream

Parameters

RWriteStream & aStreamWriteStream with externalized contents

FirstIndex()

IMPORT_C TIntFirstIndex()

Returns the first index

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)[virtual]

Initializes 'this' from stream

Parameters

RReadStream & aStreamReadStream with data contents to be internalized

NewL()

IMPORT_C CPsPattern *NewL()[static]

Two phase construction

Pattern()

IMPORT_C TDesC &Pattern()

Returns the match pattern

SetFirstIndex(TInt)

IMPORT_C voidSetFirstIndex(TIntaIndex)

Sets the first index

Parameters

TInt aIndex

SetPatternL(TDesC &)

IMPORT_C voidSetPatternL(TDesC &aPattern)

Sets the pattern

Parameters

TDesC & aPatternThe match pattern

Member Data Documentation

TInt iFirstIndex

TInt iFirstIndex[private]

First index of this pattern in result set.

HBufC * iPattern

HBufC *iPattern[private]

Match pattern.