CSDResult Class Reference

#include <mmf/common/speechrecognitiondatadevasr.h>

Link against: speechrecognitiondata.lib

class CSDResult : public CBase

Inherits from

Detailed Description

Class to encapsulate a Recognition Result

Since
8.0

Constructor & Destructor Documentation

~CSDResult ( )

IMPORT_C~CSDResult()

Destructor.

Member Function Documentation

GrammarID ( )

IMPORT_C TGrammarIDGrammarID()const

Returns the grammar ID of the result.

Since
8.0
Return Value
The grammar identifier.

NewL ( )

IMPORT_C CSDResult *NewL()[static]

Instantiates an instance of a CSDResult.

Return Value
A pointer to a CSDResult object.

NewL ( TGrammarID, TRuleID )

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

Instantiates an instance of a CSDResult.

Parameters
aGrammarIDThe grammar identifier.
aRuleIDThe rule identifier.
Return Value
A pointer to a CSDResult object.

NewLC ( )

IMPORT_C CSDResult *NewLC()[static]

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

Return Value
A pointer to a CSDResult object.

NewLC ( TGrammarID, TRuleID )

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

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

Parameters
aGrammarIDThe grammar identifier.
aRuleIDThe rule identifier.
Return Value
A pointer to a CSDResult object.

RuleID ( )

IMPORT_C TRuleIDRuleID()const

Returns the rule ID of the result.

Since
8.0
Return Value
The rule identifier.

Score ( )

IMPORT_C TInt32Score()const

Returns the score of this result.

Since
8.0
Return Value
The score of this result.

SetGrammarID ( TGrammarID )

IMPORT_C voidSetGrammarID(TGrammarIDaGrammarID)

Sets the grammar ID on the result.

Since
8.0
Parameters
aGrammarIDThe grammar identifier.

SetRuleID ( TRuleID )

IMPORT_C voidSetRuleID(TRuleIDaRuleID)

Sets the rule ID of the result.

Since
8.0
Parameters
aRuleIDThe rule identifier.

SetScore ( const TInt32 )

IMPORT_C voidSetScore(const TInt32aScore)

Sets the score for this result.

Since
8.0
Parameters
aScoreThe score of this result.