diff options
Diffstat (limited to 'src/uscxml/transform/FSMToCPP.h')
-rw-r--r-- | src/uscxml/transform/FSMToCPP.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/uscxml/transform/FSMToCPP.h b/src/uscxml/transform/FSMToCPP.h index 59231b0..18df7c1 100644 --- a/src/uscxml/transform/FSMToCPP.h +++ b/src/uscxml/transform/FSMToCPP.h @@ -47,8 +47,8 @@ protected: void writeEvents(std::ostream& stream); void writeStates(std::ostream& stream); void writeDeclarations(std::ostream& stream); - void writeExecutableContent(std::ostream& stream, const Arabica::DOM::Node<std::string>& node, int indent = 0); - void writeInlineComment(std::ostream& stream, const Arabica::DOM::Node<std::string>& node); + void writeExecutableContent(std::ostream& stream, const Arabica::DOM::Element<std::string>& node, int indent = 0); + void writeInlineComment(std::ostream& stream, const Arabica::DOM::Element<std::string>& node); void writeFSM(std::ostream& stream); void writeEventDispatching(std::ostream& stream); void writeMain(std::ostream& stream); @@ -56,14 +56,14 @@ protected: void writeIfBlock(std::ostream& stream, const Arabica::XPath::NodeSet<std::string>& condChain, int indent = 0); void writeDispatchingBlock(std::ostream& stream, const Arabica::XPath::NodeSet<std::string>& transChain, int indent = 0); - Arabica::XPath::NodeSet<std::string> getTransientContent(const Arabica::DOM::Node<std::string>& state); - Arabica::DOM::Node<std::string> getUltimateTarget(const Arabica::DOM::Node<std::string>& transition); + Arabica::XPath::NodeSet<std::string> getTransientContent(const Arabica::DOM::Element<std::string>& state); + Arabica::DOM::Node<std::string> getUltimateTarget(const Arabica::DOM::Element<std::string>& transition); Trie _eventTrie; Arabica::XPath::NodeSet<std::string> _globalStates; - Arabica::DOM::Node<std::string> _startState; - std::map<std::string, Arabica::DOM::Node<std::string> > _states; - std::map<Arabica::DOM::Node<std::string>, int> _transitions; + Arabica::DOM::Element<std::string> _startState; + std::map<std::string, Arabica::DOM::Element<std::string> > _states; + std::map<Arabica::DOM::Element<std::string>, int> _transitions; }; |