#include <mmf/common/speechrecognitiondatadevasr.h>
class CSDModelBank : public CBase |
Public Member Functions | |
---|---|
~CSDModelBank() | |
IMPORT_C TInt | Add(CSDModel &) |
IMPORT_C const CSDModel & | At(TInt) |
IMPORT_C TInt | Count() |
IMPORT_C TInt | FindModel(TPhonemeID) |
IMPORT_C TModelBankID | ModelBankID() |
IMPORT_C CSDModelBank * | NewL(TModelBankID) |
IMPORT_C CSDModelBank * | NewLC(TModelBankID) |
Class to encapsulate a Speaker Dependent Model Bank used by the recognizer during the recognition process.
IMPORT_C TInt | Count | ( | ) | const |
Returns the number of models in the model bank.
Returns: The number of models in the model bank.
IMPORT_C TInt | FindModel | ( | TPhonemeID | aPhonemeID | ) | const |
Finds a model based on the specified phoneme ID.
Parameter | Description |
---|---|
aPhonemeID | The phoneme ID. |
Returns: The index of the first matching model within the model bank. Returns KErrNotFound, if a matching model can not be found.
IMPORT_C TModelBankID | ModelBankID | ( | ) | const |
Returns the model bank ID of the model bank.
Returns: The model bank identifier.
IMPORT_C CSDModelBank * | NewL | ( | TModelBankID | aModelBankID | ) | [static] |
Instantiates an instance of a CSDModelBank.
Parameter | Description |
---|---|
aModelBankID | The model bank identifier. |
Returns: A pointer to a CSDModelBank object.
IMPORT_C CSDModelBank * | NewLC | ( | TModelBankID | aModelBankID | ) | [static] |
Instantiates an instance of a CSDModelBank and leaves a pointer on the cleanup stack.
Parameter | Description |
---|---|
aModelBankID | The model bank identifier. |
Returns: A pointer to a CSDModelBank object.