textwolf
0.2
|
XML scanner state machine implementation. More...
#include <xmlscanner.hpp>
Public Member Functions | |
Statemachine () | |
Constructor (defines the state machine completely) More... | |
Public Member Functions inherited from textwolf::ScannerStatemachine | |
Element * | get (int stateIdx) throw (exception) |
Get state addressed by its index. More... | |
ScannerStatemachine () | |
Constructor. More... | |
ScannerStatemachine & | operator[] (int stateIdx) |
See ScannerStatemachine::newState(int) More... | |
ScannerStatemachine & | operator() (ControlCharacter inputchr, int ns) |
See ScannerStatemachine::addTransition(ControlCharacter,int) More... | |
ScannerStatemachine & | operator() (ControlCharacter i1, ControlCharacter i2, int ns) |
See ScannerStatemachine::addTransition(ControlCharacter,int) More... | |
ScannerStatemachine & | operator() (ControlCharacter i1, ControlCharacter i2, ControlCharacter i3, int ns) |
See ScannerStatemachine::addTransition(ControlCharacter,int) More... | |
ScannerStatemachine & | operator() (ControlCharacter inputchr) |
See ScannerStatemachine::addTransition(ControlCharacter) More... | |
ScannerStatemachine & | action (int aa, int arg=0) |
See ScannerStatemachine::addAction(int,int) More... | |
ScannerStatemachine & | miss (int ee) |
See ScannerStatemachine::addMiss(int) More... | |
ScannerStatemachine & | fallback (int stateIdx) |
See ScannerStatemachine::addFallback(int) More... | |
ScannerStatemachine & | other (int stateIdx) |
See ScannerStatemachine::addOtherTransition(int) More... | |
Additional Inherited Members | |
Public Types inherited from textwolf::ScannerStatemachine | |
enum | { MaxNofStates =64 } |
Public Types inherited from textwolf::throws_exception | |
enum | Cause { Unknown, DimOutOfRange, StateNumbersNotAscending, InvalidParamState, InvalidParamChar, DuplicateStateTransition, InvalidState, IllegalParam, IllegalAttributeName, OutOfMem, ArrayBoundsReadWrite, NotAllowedOperation, FileReadError, IllegalXmlHeader, InvalidTagOffset, CorruptTagStack, CodePageIndexNotSupported } |
Enumeration of error cases. More... | |
XML scanner state machine implementation.
|
inline |
Constructor (defines the state machine completely)