CSIGrammar Class Reference
class CSIGrammar : public CBase
|
Class to encapsulate a Speaker Independent Grammar A grammar consist of a list of rules
nsssispeechrecognitiondata.lib
-
Since
-
2.8
Constructor & Destructor Documentation
CSIGrammar(const TSIGrammarID)
IMPORT_C
|
CSIGrammar
|
(
|
const
TSIGrammarID
|
aGrammarID
|
)
|
[protected]
|
~CSIGrammar()
IMPORT_C
|
~CSIGrammar
|
(
|
)
|
[virtual]
|
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.
|
AtL(TInt)
Use to return a rule based at an index.
-
Since
-
2.8
ConstructL()
IMPORT_C void
|
ConstructL
|
(
|
)
|
[protected, virtual]
|
Count()
IMPORT_C
TInt
|
Count
|
(
|
)
|
const [virtual]
|
Use to get the number of rules in the grammar
-
Since
-
2.8
DeleteL(const TSIRuleID)
IMPORT_C void
|
DeleteL
|
(
|
const
TSIRuleID
|
aRuleID
|
)
|
[virtual]
|
Use to delete a rule to the grammar.
-
Since
-
2.8
ExternalizeL(RWriteStream &)
IMPORT_C void
|
ExternalizeL
|
(
|
RWriteStream
&
|
aStream
|
)
|
const [virtual]
|
Find(const TSIRuleID)
Use to find a rule in the grammar based on rule Id.
-
Since
-
2.8
GrammarID()
Use to retrieve the grammar Id of the result.
-
Since
-
2.8
InternalizeL(RReadStream &)
IMPORT_C void
|
InternalizeL
|
(
|
RReadStream
&
|
aStream
|
)
|
[virtual]
|
NewLC(const TSIGrammarID)
Member Data Documentation
TAny * iReserved
TAny
*
|
iReserved
|
[private]
|
RPointerArray< CSIRule > iRuleArray
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.