#include <SpeechRecognitionDataDevASR.h>
Link against:
speechrecognitiondata.lib
This item is not part of the S60 5th Edition SDK
class CSDRule : public CBase;
Description
Class to encapsulate a Speaker Dependent Rule.
Derivation
CBase
-
Base class for all classes to be instantiated on the heap.
CSDRule
-
Class to encapsulate a Speaker Dependent Rule.
Members
Defined in CSDRule
:
Inherited from CBase
:
Construction and destruction
IMPORT_C ~CSDRule();
Description
Destructor.
NewL(TRuleID,TLexiconID,TPronunciationID)
IMPORT_C static CSDRule* NewL(TRuleID aRuleID, TLexiconID aLexiconID, TPronunciationID aPronunciationID);
Description
Instantiates an instance of CSDRule.
Parameters
TRuleID aRuleID |
The rule identifier.
|
TLexiconID aLexiconID |
The lexicon identifier.
|
TPronunciationID aPronunciationID |
The pronunciation identifier.
|
|
Return value
CSDRule *
|
A pointer to a CSDRule object.
|
|
NewLC(TRuleID,TLexiconID,TPronunciationID)
IMPORT_C static CSDRule* NewLC(TRuleID aRuleID, TLexiconID aLexiconID, TPronunciationID aPronunciationID);
Description
Instantiates an instance of CSDRule and leaves a pointer on the cleanup stack.
Parameters
TRuleID aRuleID |
The rule identifier.
|
TLexiconID aLexiconID |
The lexicon identifier.
|
TPronunciationID aPronunciationID |
The pronunciation identifier.
|
|
Return value
CSDRule *
|
A pointer to a CSDRule object.
|
|
IMPORT_C TRuleID RuleID() const;
Description
Returns the rule ID of the result.
Return value
TRuleID
|
The rule identifier.
|
|
IMPORT_C TLexiconID LexiconID() const;
Description
Returns the lexicon ID of the result.
Return value
TLexiconID
|
The lexicon identifier.
|
|
IMPORT_C TPronunciationID PronunciationID() const;
Description
Returns the pronunciation ID of the result.
Return value
TPronunciationID
|
The pronunciation identifier.
|
|