textwolf
0.2
|
Class to build up the XML element scanner state machine in a descriptive way. More...
#include <xmlscanner.hpp>
Classes | |
class | Element |
One state in the state machine. More... | |
Public Types | |
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... | |
Public Member Functions | |
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... | |
Class to build up the XML element scanner state machine in a descriptive way.
anonymous enum |
|
inline |
Constructor.
|
inline |
See ScannerStatemachine::addAction(int,int)
|
inline |
See ScannerStatemachine::addFallback(int)
Get state addressed by its index.
[in] | stateIdx | index of the state |
|
inline |
See ScannerStatemachine::addMiss(int)
|
inline |
See ScannerStatemachine::addTransition(ControlCharacter,int)
|
inline |
See ScannerStatemachine::addTransition(ControlCharacter,int)
|
inline |
See ScannerStatemachine::addTransition(ControlCharacter,int)
|
inline |
See ScannerStatemachine::addTransition(ControlCharacter)
|
inline |
See ScannerStatemachine::newState(int)
|
inline |
See ScannerStatemachine::addOtherTransition(int)