CSIClientResultSet Class Reference

class CSIClientResultSet : public CBase

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

nsssispeechrecognitiondata.lib
Since
2.5

Inherits from

Constructor & Destructor Documentation

CSIClientResultSet()

CSIClientResultSet()[private]

~CSIClientResultSet()

IMPORT_C~CSIClientResultSet()

Destructor.

Member Functions Documentation

AddL(const CSIClientResult *)

IMPORT_C voidAddL(const CSIClientResult *aResult)
Use to add a result to the result set.
Since
2.5

Parameters

const CSIClientResult * aResult- reference to the result object to be added.

AtL(TInt)

IMPORT_C const CSIClientResult &AtL(TIntanIndex)const
Use to retrieve a result at a given index within the result set.
Since
2.5

Parameters

TInt anIndex

ConstructL()

voidConstructL()[private]

DeleteL(TInt)

IMPORT_C voidDeleteL(TIntaIndex)
Use to delete a result to the result set.
Since
2.5

Parameters

TInt aIndexIndex of .

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const [virtual]
Externalize from a data stream
Since
2.8

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)[virtual]
Internalize to a data stream
Since
2.8

Parameters

RReadStream & aStreamData stream

MaxResults()

IMPORT_C TIntMaxResults()const
Use to retrieve the current value of the max number of expected after recognition.
Since
2.5

NewL()

IMPORT_C CSIClientResultSet *NewL()[static]

Two-phased constructor.

NewLC()

IMPORT_C CSIClientResultSet *NewLC()[static]

ResultCount()

IMPORT_C TIntResultCount()const
Use to retrieve the number of results actually returned after recogntion.
Since
2.5

SIResultSet()

IMPORT_C CSIResultSet &SIResultSet()const

SetMaxResultsL(TInt)

IMPORT_C voidSetMaxResultsL(TIntaMaxResults)
Sets the maximum number of best matches (N-best) expected in the recognition result after recognition.
Since
2.5

Parameters

TInt aMaxResults- the maximum number of matches expected in the recognition result.

SetResultCount(TInt)

IMPORT_C voidSetResultCount(TIntaResultCount)
Use to set the number of results actually returned after recogntion.
Since
2.5

Parameters

TInt aResultCount- number of results returned by the recognizer.

SetSIResultSet(CSIResultSet *)

IMPORT_C voidSetSIResultSet(CSIResultSet *aSIResultSet)

Parameters

CSIResultSet * aSIResultSet

Member Data Documentation

TInt iMaxResults

TInt iMaxResults[private]

RPointerArray< CSIClientResult > iResultArray

RPointerArray< CSIClientResult >iResultArray[private]

TInt iResultCount

TInt iResultCount[private]

CSIResultSet * iSIResultSet

CSIResultSet *iSIResultSet[private]