CSICompiledGrammar Class Reference

class CSICompiledGrammar : public CSIGrammar

Class to encapsulate a compiled grammar (ready for recognition)

nsssispeechrecognitiondata.lib
Since
2.8

Inherits from

Constructor & Destructor Documentation

CSICompiledGrammar(const TSIGrammarID)

IMPORT_CCSICompiledGrammar(const TSIGrammarIDaGrammarID)[protected]

Parameters

const TSIGrammarID aGrammarID

~CSICompiledGrammar()

IMPORT_C~CSICompiledGrammar()[virtual]

Destructor.

Member Functions Documentation

AddL(CSIRule *)

IMPORT_C voidAddL(CSIRule *aRule)[virtual]
Use to add a rule to the grammar.
Since
2.8

Parameters

CSIRule * aRule- reference to CSIRule object.

CompiledData()

IMPORT_C TDesC8 &CompiledData()const [virtual]
Function to get compiler data
Since
2.8

ConstructL()

IMPORT_C voidConstructL()[protected, virtual]

DeleteL(const TSIRuleID)

IMPORT_C voidDeleteL(const TSIRuleIDaRuleID)[virtual]
Use to delete a rule to the grammar.
Since
2.8

Parameters

const TSIRuleID aRuleID- rule identifier.

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const [virtual]
Externalize from a data stream
Since
2.8

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)[virtual]
Internalize to a data stream
Since
2.8

Parameters

RReadStream & aStreamData stream

NewL(const TSIGrammarID)

IMPORT_C CSICompiledGrammar *NewL(const TSIGrammarIDaGrammarID)[static]

Two-phased constructor.

Parameters

const TSIGrammarID aGrammarID

NewLC(const TSIGrammarID)

IMPORT_C CSICompiledGrammar *NewLC(const TSIGrammarIDaGrammarID)[static]

Parameters

const TSIGrammarID aGrammarID

SetCompiledData(HBufC8 *)

IMPORT_C voidSetCompiledData(HBufC8 *aCompilerData)[virtual]
Use to retrieve the recognition data.
Since
2.8

Parameters

HBufC8 * aCompilerData

Member Data Documentation

HBufC8 * iGrammarCompilerData

HBufC8 *iGrammarCompilerData[private]

TAny * iReserved

TAny *iReserved[private]

TBool iValidData

TBool iValidData[private]