CSDRule Class Reference

#include <mmf/common/speechrecognitiondatadevasr.h>

Link against: speechrecognitiondata.lib

class CSDRule : public CBase

Inherits from

  • CSDRule

    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

    Returns: The lexicon identifier.

    NewL ( TRuleID, TLexiconID, TPronunciationID )

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

    Instantiates an instance of CSDRule.

    ParameterDescription
    aRuleIDThe rule identifier.
    aLexiconIDThe lexicon identifier.
    aPronunciationIDThe pronunciation identifier.

    Returns: 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.

    ParameterDescription
    aRuleIDThe rule identifier.
    aLexiconIDThe lexicon identifier.
    aPronunciationIDThe pronunciation identifier.

    Returns: A pointer to a CSDRule object.

    PronunciationID ( )

    IMPORT_C TPronunciationIDPronunciationID()const

    Returns the pronunciation ID of the result.

    Since
    8.0

    Returns: The pronunciation identifier.

    RuleID ( )

    IMPORT_C TRuleIDRuleID()const

    Returns the rule ID of the result.

    Since
    8.0

    Returns: The rule identifier.