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 ( TModelBankID aModelBankID ) [private]

Parameters

TModelBankID aModelBankID

~CSDModelBank()

IMPORT_C ~CSDModelBank ( )

Destructor.

Member Functions Documentation

Add(CSDModel &)

IMPORT_C TInt Add ( CSDModel & aModel )

Adds a model to the model bank.

Since
8.0

Parameters

CSDModel & aModel The reference to CSDModel object.

At(TInt)

IMPORT_C const CSDModel & At ( TInt aIndex ) const

Returns a model at the given index.

Since
8.0

Parameters

TInt aIndex A reference to a CSDModel object.

ConstructL()

void ConstructL ( ) [private]

Count()

IMPORT_C TInt Count ( ) const

Returns the number of models in the model bank.

Since
8.0

FindModel(TPhonemeID)

IMPORT_C TInt FindModel ( TPhonemeID aPhonemeID ) const

Finds a model based on the specified phoneme ID.

Since
8.0

Parameters

TPhonemeID aPhonemeID The phoneme ID.

ModelBankID()

IMPORT_C TModelBankID ModelBankID ( ) const

Returns the model bank ID of the model bank.

Since
8.0

NewL(TModelBankID)

IMPORT_C CSDModelBank * NewL ( TModelBankID aModelBankID ) [static]

Instantiates an instance of a CSDModelBank .

Parameters

TModelBankID aModelBankID The model bank identifier.

NewLC(TModelBankID)

IMPORT_C CSDModelBank * NewLC ( TModelBankID aModelBankID ) [static]

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

Parameters

TModelBankID aModelBankID The model bank identifier.

Member Data Documentation

RPointerArray< CSDModel > iModelArray

RPointerArray < CSDModel > iModelArray [private]

TModelBankID iModelBankID

TModelBankID iModelBankID [private]