Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: speechrecognitiondatadevasr.h
Link against: speechrecognitiondata.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class CSDRule

class CSDRule : public CBase;

Description

Class to encapsulate a Speaker Dependent Rule.

Derivation

Members

Defined in CSDRule:
LexiconID(), NewL(), NewLC(), PronunciationID(), RuleID(), ~CSDRule()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


~CSDRule()

IMPORT_C ~CSDRule();

Description

Destructor.


NewL()

static IMPORT_C 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()

static IMPORT_C 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()

IMPORT_C TRuleID RuleID() const;

Description

Returns the rule ID of the result.

Return value

TRuleID

The rule identifier.


LexiconID()

IMPORT_C TLexiconID LexiconID() const;

Description

Returns the lexicon ID of the result.

Return value

TLexiconID

The lexicon identifier.


PronunciationID()

IMPORT_C TPronunciationID PronunciationID() const;

Description

Returns the pronunciation ID of the result.

Return value

TPronunciationID

The pronunciation identifier.