CNssContextBuilder Class Reference

class CNssContextBuilder : public CBase
CNssContextBuilder is a builder class for creating context objects. It has overloaded variants for the CreateContext(). A client will not create a context object directly but will request it through the context manager, which in turn calls the CreateContext() in context builder. NssVASApi.lib
Since
2.8

Inherits from

Constructor & Destructor Documentation

CNssContextBuilder()

CNssContextBuilder()[private]

constructor

~CNssContextBuilder()

~CNssContextBuilder()

destructor

Member Functions Documentation

ConstructL()

voidConstructL()[private]

2 phase construction

CreateContextL(const TDesC &, TInt, TBool, TUint32, TUint32, TUint32, TUint32, const TDesC8 &)

CNssContext *CreateContextL(const TDesC &aName,
TIntaContextId,
TBoolaGlobal,
TUint32aGrammarId,
TUint32aLexiconId,
TUint32aModelBankId,
TUint32iTrainType,
const TDesC8 &aClientData
)
create a context given the name, context id, global flag, grammar id, lexicon id, and modelbank id. Used by VAS internal components
Since
2.0

Parameters

const TDesC & aNameName for the context
TInt aContextIdContext Id for the context
TBool aGlobalContext is global or not
TUint32 aGrammarIdGrammar id for the context
TUint32 aLexiconIdLexicon id for the context
TUint32 aModelBankIdModel bank id for the context
TUint32 iTrainType
const TDesC8 & aClientData

CreateContextL(TUint32, TUint32)

CNssContext *CreateContextL(TUint32aLexiconId,
TUint32aModelBankId
)
create a context given the lexicon id and modelbank id, other members of the context are initialized to 0. Used by VAS internal components
Since
2.0

Parameters

TUint32 aLexiconIdlexicon id
TUint32 aModelBankIdmodel bank id

CreateContextL()

CNssContext *CreateContextL()
create an empty context
Since
2.0

GetContextPortal()

CNssContextSrsPortal *GetContextPortal()
get context SRS portal
Since
2.8

NewL()

CNssContextBuilder *NewL()[static]

2 phase construction

NewLC()

CNssContextBuilder *NewLC()[static]

2 phase construction

Member Data Documentation

CNssContextSrsPortal * iContextSrsPortal

CNssContextSrsPortal *iContextSrsPortal[private]