Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <SpeechRecognitionDataDevASR.h>
Link against: speechrecognitiondata.lib
This item is not part of the S60 5th Edition SDK

Class CSDRule

class CSDRule : public CBase;

Description

Class to encapsulate a Speaker Dependent Rule.

Derivation

Members

Defined in CSDRule:

Inherited from CBase:


Construction and destruction


~CSDRule()

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.

[Top]


Member functions


RuleID()const

IMPORT_C TRuleID RuleID() const;

Description

Returns the rule ID of the result.

Return value

TRuleID

The rule identifier.


LexiconID()const

IMPORT_C TLexiconID LexiconID() const;

Description

Returns the lexicon ID of the result.

Return value

TLexiconID

The lexicon identifier.


PronunciationID()const

IMPORT_C TPronunciationID PronunciationID() const;

Description

Returns the pronunciation ID of the result.

Return value

TPronunciationID

The pronunciation identifier.