CSIRule Class Reference

class CSIRule : public CBase

Class to encapsulate a Speaker Independent Rule

nsssispeechrecognitiondata.lib
Since
2.8

Inherits from

Constructor & Destructor Documentation

CSIRule(const TSIRuleID)

IMPORT_CCSIRule(const TSIRuleIDaRuleID)[protected]

Parameters

const TSIRuleID aRuleID

~CSIRule()

IMPORT_C~CSIRule()[virtual]

Destructor.

Member Functions Documentation

AddL(CSIRuleVariant *)

IMPORT_C voidAddL(CSIRuleVariant *aRuleVariant)[virtual]
Use to add new rule variant.
Since
2.8

Parameters

CSIRuleVariant * aRuleVariantNew rule variant.

AtL(TInt)

IMPORT_C CSIRuleVariant &AtL(TIntaIndex)const [virtual]
Use to retrieve the rule variant based on index.
Since
2.8

Parameters

TInt aIndexIndex of rule variant.

Compare(const CSIRule &, const CSIRule &)

TInt Compare(const CSIRule &aFirst,
const CSIRule &aSecond
)[static]

Compares two CSIRule objects. Returns 0 if rule ids are equal. Returns -1 if first id is smaller. Returns 1 if second id is smaller.

Parameters

const CSIRule & aFirst
const CSIRule & aSecond

ConstructL()

IMPORT_C voidConstructL()[protected, virtual]

Count()

IMPORT_C TIntCount()const [virtual]
Use to retrieve number of rule variants.
Since
2.8

DeleteL(TSIRuleVariantID)

IMPORT_C voidDeleteL(TSIRuleVariantIDaRuleVariantID)[virtual]
Use to delete rule variant.
Since
2.8

Parameters

TSIRuleVariantID aRuleVariantID

Find(TSIRuleVariantID)

IMPORT_C TIntFind(TSIRuleVariantIDaRuleVariantID)const [virtual]
Use to retrieve the rule variant index based on Id.
Since
2.8

Parameters

TSIRuleVariantID aRuleVariantIDIdentifier of rule variant.

NewL(const TSIRuleID)

IMPORT_C CSIRule *NewL(const TSIRuleIDaRuleID)[static]

Two-phased constructor.

Parameters

const TSIRuleID aRuleID

NewLC(const TSIRuleID)

IMPORT_C CSIRule *NewLC(const TSIRuleIDaRuleID)[static]

Parameters

const TSIRuleID aRuleID

RuleID()

IMPORT_C TSIRuleIDRuleID()const [virtual]
Use to retrieve the rule Id.
Since
2.8

RuleVariantL(TSIRuleVariantID)

IMPORT_C CSIRuleVariant &RuleVariantL(TSIRuleVariantIDaRuleVariantID)const [virtual]

Parameters

TSIRuleVariantID aRuleVariantID

Member Data Documentation

TAny * iReserved

TAny *iReserved[private]

TSIRuleID iRuleID

TSIRuleID iRuleID[private]

RPointerArray< CSIRuleVariant > iRuleVariantArray

RPointerArray< CSIRuleVariant >iRuleVariantArray[private]