#include <mmf/common/speechrecognitiondatadevasr.h>
class CSDResult : public CBase |
Public Member Functions | |
---|---|
~CSDResult() | |
IMPORT_C TGrammarID | GrammarID() |
IMPORT_C CSDResult * | NewL() |
IMPORT_C CSDResult * | NewL(TGrammarID, TRuleID) |
IMPORT_C CSDResult * | NewLC() |
IMPORT_C CSDResult * | NewLC(TGrammarID, TRuleID) |
IMPORT_C TRuleID | RuleID() |
IMPORT_C TInt32 | Score() |
IMPORT_C void | SetGrammarID(TGrammarID) |
IMPORT_C void | SetRuleID(TRuleID) |
IMPORT_C void | SetScore(const TInt32) |
Class to encapsulate a Recognition Result
IMPORT_C TGrammarID | GrammarID | ( | ) | const |
Returns the grammar ID of the result.
Returns: The grammar identifier.
IMPORT_C CSDResult * | NewL | ( | TGrammarID | aGrammarID, |
TRuleID | aRuleID | |||
) | [static] |
Instantiates an instance of a CSDResult.
Parameter | Description |
---|---|
aGrammarID | The grammar identifier. |
aRuleID | The rule identifier. |
Returns: A pointer to a CSDResult object.
IMPORT_C CSDResult * | NewLC | ( | TGrammarID | aGrammarID, |
TRuleID | aRuleID | |||
) | [static] |
Instantiates an instance of a CSDResult and leaves a pointer on the cleanup stack.
Parameter | Description |
---|---|
aGrammarID | The grammar identifier. |
aRuleID | The rule identifier. |
Returns: A pointer to a CSDResult object.
IMPORT_C TRuleID | RuleID | ( | ) | const |
Returns the rule ID of the result.
Returns: The rule identifier.
IMPORT_C TInt32 | Score | ( | ) | const |
Returns the score of this result.
Returns: The score of this result.
IMPORT_C void | SetGrammarID | ( | TGrammarID | aGrammarID | ) |
Sets the grammar ID on the result.
Parameter | Description |
---|---|
aGrammarID | The grammar identifier. |
IMPORT_C void | SetRuleID | ( | TRuleID | aRuleID | ) |
Sets the rule ID of the result.
Parameter | Description |
---|---|
aRuleID | The rule identifier. |
IMPORT_C void | SetScore | ( | const TInt32 | aScore | ) |
Sets the score for this result.
Parameter | Description |
---|---|
aScore | The score of this result. |