Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: speechrecognitiondatadevasr.h
Link against: speechrecognitiondata.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

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:
Add(), At(), Count(), Diagnostic(), NewL(), NewLC(), SetDiagnostic(), ~CSDResultSet()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


~CSDResultSet()

IMPORT_C ~CSDResultSet();

Description

Destructor.


NewL()

static IMPORT_C CSDResultSet *NewL();

Description

Instantiates an instance of CSDResultSet.

Return value

CSDResultSet *

A pointer to a CSDResultSet object.


NewLC()

static IMPORT_C 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()

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()

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()

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()

IMPORT_C void SetDiagnostic(TDiagnostic &aDiagnostic);

Description

Sets the diagnostic of this result set.

Parameters

TDiagnostic &aDiagnostic

A reference to the diagostic object.


Diagnostic()

IMPORT_C const TDiagnostic &Diagnostic() const;

Description

Gets the diagnostic of this result set.

Return value

const TDiagnostic &

A reference to A TDiagnostic object.