CSDClientResultSet Class Reference

class CSDClientResultSet : public CBase

Class to encapsulate a client recogntion result set This is a lightweight result set formulated for client consumption

8.0

Inherits from

Constructor & Destructor Documentation

CSDClientResultSet()

CSDClientResultSet()[private]

~CSDClientResultSet()

IMPORT_C~CSDClientResultSet()

Destructor.

Member Functions Documentation

At(TInt)

IMPORT_C const CSDClientResult &At(TIntaIndex)const

Returns a result at a given index within the result set.

A pointer to CSDClientResult object.

8.0

Parameters

TInt aIndexThe index of result to return.

ConstructL()

voidConstructL()[private]

Diagnostic()

IMPORT_C const TDiagnostic &Diagnostic()const

Gets the diagnostic of this result set.

A reference to TDiagnostic object.

8.0

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Writes the state of the class to a stream.

8.0

Parameters

RWriteStream & aStreamThe stream to write to.

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Restores the state of the object from a stream.

8.0

Parameters

RReadStream & aStreamThe stream to read from.

MaxResults()

IMPORT_C TIntMaxResults()const

Returns the current value of the max number of expected after recognition.

The maximum number of best matches (N-best) expected in the recognition result.

8.0

NewL()

IMPORT_C CSDClientResultSet *NewL()[static]

Two-phased constructor.

CSDClientResultSet object.

NewLC()

IMPORT_C CSDClientResultSet *NewLC()[static]

Two-phased constructor. Pushes the newly created object onto the cleanup stack

CSDClientResultSet object.

ResultCount()

IMPORT_C TIntResultCount()const

Returns the number of results actually returned after recogntion.

The number of results actually returned after recogntion.

8.0

SetDiagnostic(TDiagnostic &)

IMPORT_C voidSetDiagnostic(TDiagnostic &aDiagnostic)

Sets the diagnostic of this result set.

8.0

Parameters

TDiagnostic & aDiagnosticThe reference to the diagostic object.

SetMaxResultsL(TInt)

IMPORT_C voidSetMaxResultsL(TIntaMaxResults)

Sets the maximum number of best matches (N-best) expected in the recognition result after recognition.

8.0

Parameters

TInt aMaxResultsThe maximum number of matches expected in the recognition result.

SetResultCount(TInt)

IMPORT_C voidSetResultCount(TIntaResultCount)

Sets the number of results actually returned after recogntion.

8.0

Parameters

TInt aResultCountThe number of results returned by the recognizer.

Member Data Documentation

TDiagnostic * iDiagnostic

TDiagnostic *iDiagnostic[private]

TInt iMaxResults

TInt iMaxResults[private]

RPointerArray< CSDClientResult > iResultArray

RPointerArray< CSDClientResult >iResultArray[private]

TInt iResultCount

TInt iResultCount[private]