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()

void ConstructL ( ) [private]

2 phase construction

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

CNssContext * CreateContextL ( const TDesC & aName,
TInt aContextId,
TBool aGlobal,
TUint32 aGrammarId,
TUint32 aLexiconId,
TUint32 aModelBankId,
TUint32 iTrainType,
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 & aName Name for the context
TInt aContextId Context Id for the context
TBool aGlobal Context is global or not
TUint32 aGrammarId Grammar id for the context
TUint32 aLexiconId Lexicon id for the context
TUint32 aModelBankId Model bank id for the context
TUint32 iTrainType
const TDesC8 & aClientData

CreateContextL(TUint32, TUint32)

CNssContext * CreateContextL ( TUint32 aLexiconId,
TUint32 aModelBankId
)
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 aLexiconId lexicon id
TUint32 aModelBankId model 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]