CNssSpeechItemBuilder Class Reference

class CNssSpeechItemBuilder : public CBase

The CNssSpeechItemBuilder class builds SpeechItem instances when requested.

NssVASApi.lib
Since
2.8

Inherits from

Constructor & Destructor Documentation

CNssSpeechItemBuilder()

CNssSpeechItemBuilder ( ) [private]

C++ constructor

~CNssSpeechItemBuilder()

~CNssSpeechItemBuilder ( )

Destructor. The CNssSpeechItemBuilder destructor Destroys the speech item builder. In addition, this must set the state of the speech item portal termination state to termination pending.

Member Functions Documentation

ConstructL(CNssVASDatabase *)

void ConstructL ( CNssVASDatabase * aDatabase ) [private]

Symbian 2nd phase constructor

Parameters

CNssVASDatabase * aDatabase

CreateEmptySpeechItemL(CNssContext &)

CNssSpeechItem * CreateEmptySpeechItemL ( CNssContext & aContext )
Create SpeechItem object given a Context
Since
2.0

Parameters

CNssContext & aContext - reference of Contaxt object

CreateSpeechItemL(CNssContext &, TUint32, const TDesC &, TInt, TNssVasCoreConstant::TNssTrainedType)

CNssSpeechItem * CreateSpeechItemL ( CNssContext & aContext,
TUint32 aRuleID,
const TDesC & aText,
TInt aTagID,
TNssVasCoreConstant::TNssTrainedType aTrainedType
)
Create SpeechItem object given most of its data members.
Since
2.0

Parameters

CNssContext & aContext - reference of Contaxt object
TUint32 aRuleID
const TDesC & aText - a text description
TInt aTagID - a TagID
TNssVasCoreConstant::TNssTrainedType aTrainedType

NewL(CNssVASDatabase *)

CNssSpeechItemBuilder * NewL ( CNssVASDatabase * aDatabase ) [static]
Creates SpeechItemBuilder. In addition, this must also create the Speech Item Portal and Speech Item Trainer.
Since
2.0

Parameters

CNssVASDatabase * aDatabase - interface to database

NewLC(CNssVASDatabase *)

CNssSpeechItemBuilder * NewLC ( CNssVASDatabase * aDatabase ) [static]
2 phase construction
Since
2.0

Parameters

CNssVASDatabase * aDatabase - interface to database

Member Data Documentation

CNssSpeechItemSrsPortal * iPortal

CNssSpeechItemSrsPortal * iPortal [private]

CNssSpeechItemTrainer * iTrainer

CNssSpeechItemTrainer * iTrainer [private]