#include <NFA.h>
◆ compose()
template<class SymbolType , class StateType >
Composing to a sequence of xml tokens helper.
- Parameters
-
out | the sink for new xml tokens representing the automaton |
automaton | the automaton to compose |
◆ composeTransitions()
template<class SymbolType , class StateType >
Helper for composing transitions of the automaton to a sequence of xml tokens.
- Parameters
-
out | the sink for xml tokens representing the rules of the automaton |
automaton | the automaton to compose |
◆ first()
template<class SymbolType , class StateType >
Tests whether the token stream starts with this type.
\params input the iterator to sequence of xml tokens to test
- Returns
- true if the token stream iterator points to opening tag named with xml tag name of this type, false otherwise.
◆ parse()
template<class SymbolType , class StateType >
Parsing from a sequence of xml tokens helper.
\params input the iterator to sequence of xml tokens to parse from
- Returns
- the new instance of the automaton
◆ parseTransition()
template<class SymbolType , class StateType >
Helper for parsing of individual transitions of the automaton from a sequence of xml tokens.
\params input the iterator to sequence of xml tokens to parse from \params automaton the automaton to add the rule to
◆ xmlTagName()
template<class SymbolType , class StateType >
The XML tag name of class.
Intentionaly a static member function to be safe in the initialisation before the main function starts.
- Returns
- string representing the XML tag name of the class
The documentation for this struct was generated from the following file:
- alib2data/src/automaton/xml/FSM/NFA.h