textwolf  0.2
Classes | Public Member Functions | Public Attributes | List of all members
textwolf::ScannerStatemachine::Element Class Reference

One state in the state machine. More...

#include <xmlscanner.hpp>

Classes

class  Action
 Definition of action fired by the state machine. More...
 

Public Member Functions

 Element ()
 Constructor. More...
 

Public Attributes

int fallbackState
 state transition if the event does not match (it belongs to the next state = fallbackState) More...
 
int missError
 error code in case of an event that does not match and there is no fallback More...
 
Action action
 action executed after entering this state More...
 
unsigned char nofnext
 number of follow states defined More...
 
signed char next [NofControlCharacter]
 follow state fired by an event (control character type parsed) More...
 

Detailed Description

One state in the state machine.

Constructor & Destructor Documentation

textwolf::ScannerStatemachine::Element::Element ( )
inline

Constructor.

Member Data Documentation

Action textwolf::ScannerStatemachine::Element::action

action executed after entering this state

int textwolf::ScannerStatemachine::Element::fallbackState

state transition if the event does not match (it belongs to the next state = fallbackState)

int textwolf::ScannerStatemachine::Element::missError

error code in case of an event that does not match and there is no fallback

signed char textwolf::ScannerStatemachine::Element::next[NofControlCharacter]

follow state fired by an event (control character type parsed)

unsigned char textwolf::ScannerStatemachine::Element::nofnext

number of follow states defined


The documentation for this class was generated from the following file: