textwolf  0.2
Public Member Functions | List of all members
textwolf::XMLScannerBase::Statemachine Class Reference

XML scanner state machine implementation. More...

#include <xmlscanner.hpp>

Inheritance diagram for textwolf::XMLScannerBase::Statemachine:
textwolf::ScannerStatemachine textwolf::throws_exception

Public Member Functions

 Statemachine ()
 Constructor (defines the state machine completely) More...
 
- Public Member Functions inherited from textwolf::ScannerStatemachine
Elementget (int stateIdx) throw (exception)
 Get state addressed by its index. More...
 
 ScannerStatemachine ()
 Constructor. More...
 
ScannerStatemachineoperator[] (int stateIdx)
 See ScannerStatemachine::newState(int) More...
 
ScannerStatemachineoperator() (ControlCharacter inputchr, int ns)
 See ScannerStatemachine::addTransition(ControlCharacter,int) More...
 
ScannerStatemachineoperator() (ControlCharacter i1, ControlCharacter i2, int ns)
 See ScannerStatemachine::addTransition(ControlCharacter,int) More...
 
ScannerStatemachineoperator() (ControlCharacter i1, ControlCharacter i2, ControlCharacter i3, int ns)
 See ScannerStatemachine::addTransition(ControlCharacter,int) More...
 
ScannerStatemachineoperator() (ControlCharacter inputchr)
 See ScannerStatemachine::addTransition(ControlCharacter) More...
 
ScannerStatemachineaction (int aa, int arg=0)
 See ScannerStatemachine::addAction(int,int) More...
 
ScannerStatemachinemiss (int ee)
 See ScannerStatemachine::addMiss(int) More...
 
ScannerStatemachinefallback (int stateIdx)
 See ScannerStatemachine::addFallback(int) More...
 
ScannerStatemachineother (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...
 

Detailed Description

XML scanner state machine implementation.

Constructor & Destructor Documentation

textwolf::XMLScannerBase::Statemachine::Statemachine ( )
inline

Constructor (defines the state machine completely)


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