#include <mmf/common/speechrecognitiondataclient.h>
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.
Parameter | Description |
---|---|
aStream | A RWriteStream to write the class to. |
IMPORT_C TGrammarID | GrammarID | ( | ) | const |
Retrieves the grammar ID of the result.
Returns: Grammar identifier.
void | InternalizeL | ( | RReadStream & | aStream | ) |
Reads the class from a stream.
Parameter | Description |
---|---|
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
Returns: CSDClientResult object
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.
Parameter | Description |
---|---|
aGrammarID | The grammar ID of the result. |
aRuleID | The rule ID of the result. |
Returns: CSDClientResult object.
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
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.
Parameter | Description |
---|---|
aGrammarID | The grammar ID of the result |
aRuleID | The rule ID of the result |
Returns: CSDClientResult object.
IMPORT_C TRuleID | RuleID | ( | ) | const |
Returns the rule ID of the result.
Returns: The rule identifier.
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. |