OSEXIAutomaton Struct Reference
[EXI runtime library functions.]
This structure defines a finite state automata for EXI grammars.
More...
#include <rtEXIAutomaton.h>
Public Attributes | |
OSEXIState | numberOfStates |
The number of states in this automaton. | |
OSEXIState | currentState |
The automaton's current state. | |
OSEXIState | acceptingState |
The automaton's accepting state. | |
const OSXMLFullQName * | elementName |
Name of the element's grammar this automaton accepts, or null if unspecified. | |
OSRTArrayList | eventCodeGroups |
List of event code groups indexed by state. | |
OSBOOL | isClosed |
Indicates if this automaton can be extended by adding additional states or transitions. | |
OSBOOL | matchedBaseEvent |
Flag indicating if the last call to rtEXIDecAutomatonAdvance matched a base event instead. | |
OSRTArrayList | eventStates |
Mapping defining transitions between (from, event) into (to, eventcode) pairs. | |
OSEXIEvent * | pDynEvent |
Event of the form SE(null) or AT(null) used in the last dynamic transition added to this automaton in rtEXIDecAutomatonAdvance. | |
OSUINT32 | valueChannel |
Value channel index. | |
OSEXIStateEvent * | pAttrEventState |
Attribute value state. | |
OSEXIState | prevState |
Last state before AT(*) event. |
Detailed Description
This structure defines a finite state automata for EXI grammars.
Definition at line 61 of file rtEXIAutomaton.h.
Member Data Documentation
OSRTArrayList OSEXIAutomaton::eventCodeGroups |
List of event code groups indexed by state.
Event code groups are used to calculate the number of bits needed to encode an event code.
Definition at line 88 of file rtEXIAutomaton.h.
OSBOOL OSEXIAutomaton::isClosed |
Indicates if this automaton can be extended by adding additional states or transitions.
An automaton that has been closed cannot be further extended.
Definition at line 95 of file rtEXIAutomaton.h.
Flag indicating if the last call to rtEXIDecAutomatonAdvance matched a base event instead.
The base event of SE(qname) is SE(*); the base event of AT(qname) is AT(*).
Definition at line 102 of file rtEXIAutomaton.h.
OSRTArrayList OSEXIAutomaton::eventStates |
Mapping defining transitions between (from, event) into (to, eventcode) pairs.
These records are maintained in a flat array list of all possible combinations. New relations can be added as knowledge is learned in an EXI encoding.
Definition at line 110 of file rtEXIAutomaton.h.
Event of the form SE(null) or AT(null) used in the last dynamic transition added to this automaton in rtEXIDecAutomatonAdvance.
This event is returned by calling rtEXIGetDynamicEvent. The decoder is responsible for filling in the qname in this event, as it isn't available when the dynamic production is added.
Definition at line 120 of file rtEXIAutomaton.h.
The documentation for this struct was generated from the following file: