sys::Obj afFancom::Flag afFancomSapi::SpeechRuleAttributes
Lists the possible attributes of a grammar rule.
const static SpeechRuleAttributes None := SpeechRuleAttributes.<ctor>(0, "None")
const static SpeechRuleAttributes SRADefaultToActive := ...
Specifies that the rule is defined as a top-level rule that is activated by default. This can be set using the TOPLEVEL="ACTIVE" attribute-value pair in the Speech Text Grammar Format.
Value is 2 (0x2)
const static SpeechRuleAttributes SRADynamic := ...
Specifies the rule is dynamic (can be changed programmatically through the ISpGrammarBuilder interface). Note that the CFG must be loaded with the SPLO_DYNAMIC flag to enable changes at run time.
Value is 32 (0x20)
const static SpeechRuleAttributes SRAExport := ...
Specifies the rule is exported and hence can be referred to by a rule in another grammar. This can be set using the
EXPORT="YES"attribute-value pair in the Speech Text Grammar Format.
Value is 4 (0x4)
const static SpeechRuleAttributes SRAImport := ...
Specifies the rule is imported from another grammar and is therefore not defined in this grammar.
Value is 8 (0x8)
const static SpeechRuleAttributes SRAInterpreter := ...
Specifies the rule has an interpreter (custom C/C++ code implementing the ISpCFGInterpreter interface) associated with it.
Value is 16 (0x10)
const static SpeechRuleAttributes SRARoot := ...
Specifies whether this is the root rule in the grammar. This is only meaningful for SRGS grammars.
Value is 64 (0x40)
const static SpeechRuleAttributes SRATopLevel := ...
Specifies that the rule is defined as a top-level rule. Top-level rules are the entry points into the grammar and can be activated or deactivated programmatically. Set a rule as top-level by using the TOPLEVEL attribute in the Speech Text Grammar Format.
Value is 1 (0x1)
new make(|This? f := null)
new makeFromVariant(Variant variant)