#include <mmf/common/speechrecognitiondataclient.h>
Link against: speechrecognitiondata.lib
class CSDClientResult : public CBase |
Public Member Functions | |
---|---|
~CSDClientResult() | |
void | ExternalizeL(RWriteStream &) |
IMPORT_C TGrammarID | GrammarID() |
void | InternalizeL(RReadStream &) |
IMPORT_C CSDClientResult * | NewL() |
IMPORT_C CSDClientResult * | NewL(TGrammarID, TRuleID) |
IMPORT_C CSDClientResult * | NewLC() |
IMPORT_C CSDClientResult * | NewLC(TGrammarID, TRuleID) |
IMPORT_C TRuleID | RuleID() |
IMPORT_C void | SetGrammarID(TGrammarID) |
IMPORT_C void | SetRuleID(TRuleID) |
Class to encapsulate a client recognition result. The result is formulated for client consumption.
void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
Writes the class to a stream.
Parameters | |
---|---|
aStream | A RWriteStream to write the class to. |
IMPORT_C TGrammarID | GrammarID | ( | ) | const |
Retrieves the grammar ID of the result.
void | InternalizeL | ( | RReadStream & | aStream | ) |
Reads the class from a stream.
Parameters | |
---|---|
aStream | A RReadStream to read from. |
IMPORT_C CSDClientResult * | NewL | ( | ) | [static] |
Two-phased constructor. Creates an uninitialised recognition result.
Can leave with one of the system-wide error codes
IMPORT_C CSDClientResult * | NewL | ( | TGrammarID | aGrammarID, |
TRuleID | aRuleID | |||
) | [static] |
Two-phased constructor. Creates a result with a grammar and rule ID.
Can leave with one of the system-wide error codes.
Parameters | |
---|---|
aGrammarID | The grammar ID of the result. |
aRuleID | The rule ID of the result. |
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.
IMPORT_C CSDClientResult * | NewLC | ( | TGrammarID | aGrammarID, |
TRuleID | aRuleID | |||
) | [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.
Parameters | |
---|---|
aGrammarID | The grammar ID of the result |
aRuleID | The rule ID of the result |
IMPORT_C TRuleID | RuleID | ( | ) | const |
Returns the rule ID of the 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. |