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_C CSIRule ( const TSIRuleID aRuleID ) [protected]

Parameters

const TSIRuleID aRuleID

~CSIRule()

IMPORT_C ~CSIRule ( ) [virtual]

Destructor.

Member Functions Documentation

AddL(CSIRuleVariant *)

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

Parameters

CSIRuleVariant * aRuleVariant New rule variant.

AtL(TInt)

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

Parameters

TInt aIndex Index 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 void ConstructL ( ) [protected, virtual]

Count()

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

DeleteL(TSIRuleVariantID)

IMPORT_C void DeleteL ( TSIRuleVariantID aRuleVariantID ) [virtual]
Use to delete rule variant.
Since
2.8

Parameters

TSIRuleVariantID aRuleVariantID

Find(TSIRuleVariantID)

IMPORT_C TInt Find ( TSIRuleVariantID aRuleVariantID ) const [virtual]
Use to retrieve the rule variant index based on Id.
Since
2.8

Parameters

TSIRuleVariantID aRuleVariantID Identifier of rule variant.

NewL(const TSIRuleID)

IMPORT_C CSIRule * NewL ( const TSIRuleID aRuleID ) [static]

Two-phased constructor.

Parameters

const TSIRuleID aRuleID

NewLC(const TSIRuleID)

IMPORT_C CSIRule * NewLC ( const TSIRuleID aRuleID ) [static]

Parameters

const TSIRuleID aRuleID

RuleID()

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

RuleVariantL(TSIRuleVariantID)

IMPORT_C CSIRuleVariant & RuleVariantL ( TSIRuleVariantID aRuleVariantID ) 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]