| class CSDClientResult : public CBase |
Class to encapsulate a client recognition result. The result is formulated for client consumption.
8.0
| 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) |
| Private Member Functions | |
|---|---|
| CSDClientResult() | |
| CSDClientResult(TGrammarID, TRuleID) | |
| void | ConstructL() |
| Private Attributes | |
|---|---|
| TGrammarID | iGrammarID |
| TRuleID | iRuleID |
| CSDClientResult | ( | TGrammarID | aGrammarID, |
| TRuleID | aRuleID | ||
| ) | [private] | ||
| TGrammarID aGrammarID | |
| TRuleID aRuleID |
| void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
Writes the class to a stream.
8.0
| RWriteStream & aStream | A RWriteStream to write the class to. |
| IMPORT_C TGrammarID | GrammarID | ( | ) | const |
Retrieves the grammar ID of the result.
Grammar identifier.
8.0
| void | InternalizeL | ( | RReadStream & | aStream | ) |
Reads the class from a stream.
8.0
| RReadStream & 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
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.
CSDClientResult object.
| TGrammarID aGrammarID | The grammar ID of the result. |
| TRuleID 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.
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.
CSDClientResult object.
| TGrammarID aGrammarID | The grammar ID of the result |
| TRuleID aRuleID | The rule ID of the result |
| IMPORT_C void | SetGrammarID | ( | TGrammarID | aGrammarID | ) |
Sets the grammar ID on the result.
8.0
| TGrammarID aGrammarID | The grammar identifier. |
| IMPORT_C void | SetRuleID | ( | TRuleID | aRuleID | ) |
Sets the rule ID of the result.
8.0
| TRuleID aRuleID | The rule identifier. |