#include <SpeechRecognitionDataDevASR.h>
Link against:
speechrecognitiondata.lib
This item is not part of the S60 5th Edition SDK
class CSDResultSet : public CBase;
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.
Derivation
CBase
-
Base class for all classes to be instantiated on the heap.
Members
Defined in CSDResultSet
:
Inherited from CBase
:
Construction and destruction
IMPORT_C ~CSDResultSet();
Description
Destructor.
IMPORT_C static CSDResultSet* NewL();
Description
Instantiates an instance of CSDResultSet.
Return value
IMPORT_C static CSDResultSet* NewLC();
Description
Instantiates an instance of CSDResultSet and leaves a pointer on the cleanup stack.
Return value
IMPORT_C TInt Add(CSDResult &aResult);
Description
Adds a result to the rule set.
Parameters
CSDResult &aResult |
A reference to the result object to be added.
|
|
Return value
TInt
|
An error code indicating if the function call was successful. KErrNone on success, otherwise another of the system-wide error
codes.
|
|
IMPORT_C const CSDResult& At(TInt aIndex);
Description
Returns a result at a given index within the result set.
Parameters
TInt aIndex |
The index in the result set.
|
|
Return value
IMPORT_C TInt Count() const;
Description
Returns the number of results in the result set.
Return value
TInt
|
The number of results in the result set.
|
|
SetDiagnostic(TDiagnostic &)
IMPORT_C void SetDiagnostic(TDiagnostic &aDiagnostic);
Description
Sets the diagnostic of this result set.
Parameters
TDiagnostic &aDiagnostic |
A reference to the diagostic object.
|
|
IMPORT_C const TDiagnostic& Diagnostic() const;
Description
Gets the diagnostic of this result set.
Return value