Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <SpeechRecognitionDataDevASR.h>
Link against: speechrecognitiondata.lib
This item is not part of the S60 5th Edition SDK

Class CSDResultSet

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

Members

Defined in CSDResultSet:

Inherited from CBase:


Construction and destruction


~CSDResultSet()

IMPORT_C ~CSDResultSet();

Description

Destructor.


NewL()

IMPORT_C static CSDResultSet* NewL();

Description

Instantiates an instance of CSDResultSet.

Return value

CSDResultSet *

A pointer to a CSDResultSet object.


NewLC()

IMPORT_C static CSDResultSet* NewLC();

Description

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

Return value

CSDResultSet *

A pointer to a CSDResultSet object.

[Top]


Member functions


Add(CSDResult &)

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.


At(TInt)

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

const CSDResult &

A reference to CSDResult object.


Count()const

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.


Diagnostic()const

IMPORT_C const TDiagnostic& Diagnostic() const;

Description

Gets the diagnostic of this result set.

Return value

const TDiagnostic &

A reference to A TDiagnostic object.