CSDResultSet Class Reference

#include <mmf/common/speechrecognitiondatadevasr.h>

Link against: speechrecognitiondata.lib

class CSDResultSet : public CBase

Inherits from

  • CSDResultSet

    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
    ParameterDescription
    aResultA reference to the result object to be added.

    Returns: 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
    ParameterDescription
    aIndexThe index in the result set.

    Returns: A reference to CSDResult object.

    Count ( )

    IMPORT_C TIntCount()const

    Returns the number of results in the result set.

    Since
    8.0

    Returns: 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

    Returns: A reference to A TDiagnostic object.

    NewL ( )

    IMPORT_C CSDResultSet *NewL()[static]

    Instantiates an instance of CSDResultSet.

    Returns: 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.

    Returns: A pointer to a CSDResultSet object.

    SetDiagnostic ( TDiagnostic & )

    IMPORT_C voidSetDiagnostic(TDiagnostic &aDiagnostic)

    Sets the diagnostic of this result set.

    Since
    8.0
    ParameterDescription
    aDiagnosticA reference to the diagostic object.