CSDModelBank Class Reference

class CSDModelBank : public CBase

Class to encapsulate a Speaker Dependent Model Bank used by the recognizer during the recognition process.

Since
8.0

Inherits from

Constructor & Destructor Documentation

CSDModelBank(TModelBankID)

CSDModelBank(TModelBankIDaModelBankID)[private]

Parameters

TModelBankID aModelBankID

~CSDModelBank()

IMPORT_C~CSDModelBank()

Destructor.

Member Functions Documentation

Add(CSDModel &)

IMPORT_C TIntAdd(CSDModel &aModel)

Adds a model to the model bank.

Since
8.0

Parameters

CSDModel & aModelThe reference to CSDModel object.

At(TInt)

IMPORT_C const CSDModel &At(TIntaIndex)const

Returns a model at the given index.

Since
8.0

Parameters

TInt aIndexA reference to a CSDModel object.

ConstructL()

voidConstructL()[private]

Count()

IMPORT_C TIntCount()const

Returns the number of models in the model bank.

Since
8.0

FindModel(TPhonemeID)

IMPORT_C TIntFindModel(TPhonemeIDaPhonemeID)const

Finds a model based on the specified phoneme ID.

Since
8.0

Parameters

TPhonemeID aPhonemeIDThe phoneme ID.

ModelBankID()

IMPORT_C TModelBankIDModelBankID()const

Returns the model bank ID of the model bank.

Since
8.0

NewL(TModelBankID)

IMPORT_C CSDModelBank *NewL(TModelBankIDaModelBankID)[static]

Instantiates an instance of a CSDModelBank.

Parameters

TModelBankID aModelBankIDThe model bank identifier.

NewLC(TModelBankID)

IMPORT_C CSDModelBank *NewLC(TModelBankIDaModelBankID)[static]

Instantiates an instance of a CSDModelBank and leaves a pointer on the cleanup stack.

Parameters

TModelBankID aModelBankIDThe model bank identifier.

Member Data Documentation

RPointerArray< CSDModel > iModelArray

RPointerArray< CSDModel >iModelArray[private]

TModelBankID iModelBankID

TModelBankID iModelBankID[private]