#include <mmf/common/speechrecognitiondatadevasr.h>
Link against: speechrecognitiondata.lib
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.
IMPORT_C CSDResult * | NewL | ( | TGrammarID | aGrammarID, |
TRuleID | aRuleID | |||
) | [static] |
Instantiates an instance of a CSDResult.
Parameters | |
---|---|
aGrammarID | The grammar identifier. |
aRuleID | The rule identifier. |
IMPORT_C CSDResult * | NewLC | ( | TGrammarID | aGrammarID, |
TRuleID | aRuleID | |||
) | [static] |
Instantiates an instance of a CSDResult and leaves a pointer on the cleanup stack.
Parameters | |
---|---|
aGrammarID | The grammar identifier. |
aRuleID | The rule identifier. |
IMPORT_C TRuleID | RuleID | ( | ) | const |
Returns the rule ID of the result.
IMPORT_C TInt32 | Score | ( | ) | const |
Returns the score of this result.
IMPORT_C void | SetGrammarID | ( | TGrammarID | aGrammarID | ) |
Sets the grammar ID on the result.
Parameters | |
---|---|
aGrammarID | The grammar identifier. |
IMPORT_C void | SetRuleID | ( | TRuleID | aRuleID | ) |
Sets the rule ID of the result.
Parameters | |
---|---|
aRuleID | The rule identifier. |
IMPORT_C void | SetScore | ( | const TInt32 | aScore | ) |
Sets the score for this result.
Parameters | |
---|---|
aScore | The score of this result. |