CSDResultSet Class Reference

#include <mmf/common/speechrecognitiondatadevasr.h>

Link against: speechrecognitiondata.lib

class CSDResultSet : public CBase

Inherits from

Detailed Description

CSDResultSet encapsulates a set of result objects returned by the recognizer at the end of the recognition process. A result set may include additional diagnostic information for error analysis.

Since
8.0

Constructor & Destructor Documentation

~CSDResultSet ( )

IMPORT_C~CSDResultSet()

Destructor.

Member Function Documentation

Add ( CSDResult & )

IMPORT_C TIntAdd(CSDResult &aResult)

Adds a result to the rule set.

Since
8.0
Parameters
aResultA reference to the result object to be added.
Return Value
An error code indicating if the function call was successful. KErrNone on success, otherwise another of the system-wide error codes.

At ( TInt )

IMPORT_C const CSDResult &At(TIntaIndex)

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

Since
8.0
Parameters
aIndexThe index in the result set.
Return Value
A reference to CSDResult object.

Count ( )

IMPORT_C TIntCount()const

Returns the number of results in the result set.

Since
8.0
Return Value
The number of results in the result set.

Diagnostic ( )

IMPORT_C const TDiagnostic &Diagnostic()const

Gets the diagnostic of this result set.

Since
8.0
Return Value
A reference to A TDiagnostic object.

NewL ( )

IMPORT_C CSDResultSet *NewL()[static]

Instantiates an instance of CSDResultSet.

Return Value
A pointer to a CSDResultSet object.

NewLC ( )

IMPORT_C CSDResultSet *NewLC()[static]

Instantiates an instance of CSDResultSet and leaves a pointer on the cleanup stack.

Return Value
A pointer to a CSDResultSet object.

SetDiagnostic ( TDiagnostic & )

IMPORT_C voidSetDiagnostic(TDiagnostic &aDiagnostic)

Sets the diagnostic of this result set.

Since
8.0
Parameters
aDiagnosticA reference to the diagostic object.