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()

void ConstructL ( ) [private]

Second phase constructor

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream ) [virtual]

Writes 'this' to the stream

Parameters

RWriteStream & aStream WriteStream with externalized contents

FirstIndex()

IMPORT_C TInt FirstIndex ( )

Returns the first index

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aStream ) [virtual]

Initializes 'this' from stream

Parameters

RReadStream & aStream ReadStream 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 void SetFirstIndex ( TInt aIndex )

Sets the first index

Parameters

TInt aIndex

SetPatternL(TDesC &)

IMPORT_C void SetPatternL ( TDesC & aPattern )

Sets the pattern

Parameters

TDesC & aPattern The 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.