CSDGrammar Class Reference
class CSDGrammar : public CBase |
Class to encapsulate a Speaker Dependent Grammar.
A grammar consists of a list of rules.
Constructor & Destructor Documentation
Member Functions Documentation
Add(CSDRule &)
Adds a rule to the grammar.
Parameters
CSDRule & aRule | A reference to a CSDRule object. |
At(TInt)
Returns a rule based at an index.
Parameters
TInt aIndex | An index value. The value must not be negative and must not be greater than the number of rules currently in the grammar, otherwise the function will panic. |
ConstructL()
void | ConstructL | ( | ) | [private] |
Count()
IMPORT_C TInt | Count | ( | ) | const |
Returns the number of rules in the grammar
Delete(TRuleID)
IMPORT_C void | Delete | ( | TRuleID | aRuleID | ) | |
Deletes a rule from the grammar.
Parameters
TRuleID aRuleID | The rule identifier to delete. |
FindRule(TRuleID)
Finds a rule in the grammar based on the rule ID.
Parameters
TRuleID aRuleID | The rule identifier. |
GrammarID()
Returns the grammar ID of the result.
NewLC(TGrammarID)
Instantiates an instance of CSDGrammar and leaves a pointer on the cleanup stack.
Member Data Documentation
RPointerArray< CSDRule > iRuleArray
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.