CSDClientResult Class Reference

#include <mmf/common/speechrecognitiondataclient.h>

Link against: speechrecognitiondata.lib

class CSDClientResult : public CBase

Inherits from

  • CSDClientResult

    Detailed Description

    Class to encapsulate a client recognition result. The result is formulated for client consumption.

    Since
    8.0

    Constructor & Destructor Documentation

    ~CSDClientResult ( )

    IMPORT_C~CSDClientResult()

    Destructor.

    Member Function Documentation

    ExternalizeL ( RWriteStream & )

    voidExternalizeL(RWriteStream &aStream)const

    Writes the class to a stream.

    Since
    8.0
    ParameterDescription
    aStreamA RWriteStream to write the class to.

    GrammarID ( )

    IMPORT_C TGrammarIDGrammarID()const

    Retrieves the grammar ID of the result.

    Since
    8.0

    Returns: Grammar identifier.

    InternalizeL ( RReadStream & )

    voidInternalizeL(RReadStream &aStream)

    Reads the class from a stream.

    Since
    8.0
    ParameterDescription
    aStreamA RReadStream to read from.

    NewL ( )

    IMPORT_C CSDClientResult *NewL()[static]

    Two-phased constructor. Creates an uninitialised recognition result.

    Can leave with one of the system-wide error codes

    Returns: CSDClientResult object

    NewL ( TGrammarID, TRuleID )

    IMPORT_C CSDClientResult *NewL(TGrammarIDaGrammarID,
    TRuleIDaRuleID
    )[static]

    Two-phased constructor. Creates a result with a grammar and rule ID.

    Can leave with one of the system-wide error codes.

    ParameterDescription
    aGrammarIDThe grammar ID of the result.
    aRuleIDThe rule ID of the result.

    Returns: CSDClientResult object.

    NewLC ( )

    IMPORT_C CSDClientResult *NewLC()[static]

    Two-phased constructor. Creates an uninitialised recognition result. A copy of the newly created class is pushed onto the cleanup stack.

    Can leave with one of the system-wide error codes.

    Returns: CSDClientResult object

    NewLC ( TGrammarID, TRuleID )

    IMPORT_C CSDClientResult *NewLC(TGrammarIDaGrammarID,
    TRuleIDaRuleID
    )[static]

    Two-phased constructor. Creates a result with a grammar and rule ID. A copy of the newly created class is pushed onto the cleanup stack.

    Can leave with one of the system-wide error codes.

    ParameterDescription
    aGrammarIDThe grammar ID of the result
    aRuleIDThe rule ID of the result

    Returns: CSDClientResult object.

    RuleID ( )

    IMPORT_C TRuleIDRuleID()const

    Returns the rule ID of the result.

    Since
    8.0

    Returns: The rule identifier.

    SetGrammarID ( TGrammarID )

    IMPORT_C voidSetGrammarID(TGrammarIDaGrammarID)

    Sets the grammar ID on the result.

    Since
    8.0
    ParameterDescription
    aGrammarIDThe grammar identifier.

    SetRuleID ( TRuleID )

    IMPORT_C voidSetRuleID(TRuleIDaRuleID)

    Sets the rule ID of the result.

    Since
    8.0
    ParameterDescription
    aRuleIDThe rule identifier.