CSDRule Class Reference

#include <mmf/common/speechrecognitiondatadevasr.h>

Link against: speechrecognitiondata.lib

class CSDRule : public CBase

Inherits from

Detailed Description

Class to encapsulate a Speaker Dependent Rule.

Since
8.0

Constructor & Destructor Documentation

~CSDRule ( )

IMPORT_C~CSDRule()

Destructor.

Member Function Documentation

LexiconID ( )

IMPORT_C TLexiconIDLexiconID()const

Returns the lexicon ID of the result.

Since
8.0
Return Value
The lexicon identifier.

NewL ( TRuleID, TLexiconID, TPronunciationID )

IMPORT_C CSDRule *NewL(TRuleIDaRuleID,
TLexiconIDaLexiconID,
TPronunciationIDaPronunciationID
)[static]

Instantiates an instance of CSDRule.

Parameters
aRuleIDThe rule identifier.
aLexiconIDThe lexicon identifier.
aPronunciationIDThe pronunciation identifier.
Return Value
A pointer to a CSDRule object.

NewLC ( TRuleID, TLexiconID, TPronunciationID )

IMPORT_C CSDRule *NewLC(TRuleIDaRuleID,
TLexiconIDaLexiconID,
TPronunciationIDaPronunciationID
)[static]

Instantiates an instance of CSDRule and leaves a pointer on the cleanup stack.

Parameters
aRuleIDThe rule identifier.
aLexiconIDThe lexicon identifier.
aPronunciationIDThe pronunciation identifier.
Return Value
A pointer to a CSDRule object.

PronunciationID ( )

IMPORT_C TPronunciationIDPronunciationID()const

Returns the pronunciation ID of the result.

Since
8.0
Return Value
The pronunciation identifier.

RuleID ( )

IMPORT_C TRuleIDRuleID()const

Returns the rule ID of the result.

Since
8.0
Return Value
The rule identifier.