File Information
Library: XSD/Parser
Package: XSDParser
Header: Poco/XSD/Parser/StateMachine.h
Description
class StateMachine. Defines all possible states.
Member Summary
Nested Classes
struct StateInfo
Types
StateInfos
typedef std::vector < StateInfo > StateInfos;
the position of the vector equals the int value of the enum State
StateMap
typedef std::map < std::string, StateMachine::State > StateMap;
Maps an element name to the assigned State. Due to performance reasons we define the concatenation of namespace URI and localname of the xsd element as the key.
StateSet
typedef std::set < std::string > StateSet;
void
typedef void (XSDContentHandler::* StartMethod)(const std::string &, const std::string &, const std::string &, const CompactAttributes &);
void
typedef void (XSDContentHandler::* EndMethod)(const std::string &, const std::string &, const std::string &);
Enumerations
State
ST_INALL = 0
Constructors
StateMachine
StateMachine();
Creates the StateMachine.
Destructor
~StateMachine
virtual ~StateMachine();
Destroys the StateMachine.
Member Functions
state
StateMachine::State state(
const std::string & uri,
const std::string & elementName,
StateMachine::State parent
) const;
Returns the state for an xml element name.
stateInfo
const StateMachine::StateInfo & stateInfo(
StateMachine::State aState
) const;