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_C CSICompiledGrammar ( const TSIGrammarID aGrammarID ) [protected]

Parameters

const TSIGrammarID aGrammarID

~CSICompiledGrammar()

IMPORT_C ~CSICompiledGrammar ( ) [virtual]

Destructor.

Member Functions Documentation

AddL(CSIRule *)

IMPORT_C void AddL ( 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 void ConstructL ( ) [protected, virtual]

DeleteL(const TSIRuleID)

IMPORT_C void DeleteL ( const TSIRuleID aRuleID ) [virtual]
Use to delete a rule to the grammar.
Since
2.8

Parameters

const TSIRuleID aRuleID - rule identifier.

ExternalizeL(RWriteStream &)

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

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

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

Parameters

RReadStream & aStream Data stream

NewL(const TSIGrammarID)

IMPORT_C CSICompiledGrammar * NewL ( const TSIGrammarID aGrammarID ) [static]

Two-phased constructor.

Parameters

const TSIGrammarID aGrammarID

NewLC(const TSIGrammarID)

IMPORT_C CSICompiledGrammar * NewLC ( const TSIGrammarID aGrammarID ) [static]

Parameters

const TSIGrammarID aGrammarID

SetCompiledData(HBufC8 *)

IMPORT_C void SetCompiledData ( 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]