diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-07-30 20:41:50 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-07-30 20:41:50 (GMT) |
commit | b7a2d38bdcee3bf85a32dea7ac74b144d5ef40fa (patch) | |
tree | bade629bcca6b6a1417cb45be4349a3c27ea0feb /src/uscxml/debug/SCXMLDotWriter.h | |
parent | afbd0c4463c6f28ec1cd6ea45a68fdbcfcfeae6c (diff) | |
download | uscxml-b7a2d38bdcee3bf85a32dea7ac74b144d5ef40fa.zip uscxml-b7a2d38bdcee3bf85a32dea7ac74b144d5ef40fa.tar.gz uscxml-b7a2d38bdcee3bf85a32dea7ac74b144d5ef40fa.tar.bz2 |
See detailled log
- Forcing Data.Type for Data(String) constructor now, default used to be INTERPRETED.
- setDataModel and addIOProcessor on interpreter now
- fixed a bug with Data(bool) constructor
- various smaller fixes
Diffstat (limited to 'src/uscxml/debug/SCXMLDotWriter.h')
-rw-r--r-- | src/uscxml/debug/SCXMLDotWriter.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/uscxml/debug/SCXMLDotWriter.h b/src/uscxml/debug/SCXMLDotWriter.h index 3ac697f..61fbfad 100644 --- a/src/uscxml/debug/SCXMLDotWriter.h +++ b/src/uscxml/debug/SCXMLDotWriter.h @@ -64,7 +64,7 @@ public: }; struct StateAnchor { - StateAnchor() : childDepth(-1), transDepth(-1), type(PORT_TARGET) {} + StateAnchor() : childDepth(std::numeric_limits<int32_t>::max()), transDepth(std::numeric_limits<int32_t>::max()), type(PORT_TARGET) {} Arabica::DOM::Element<std::string> element; int32_t childDepth; int32_t transDepth; @@ -166,9 +166,9 @@ protected: int32_t transDepth = std::numeric_limits<int32_t>::max()); void writeStateElement(std::ostream& os, const Arabica::DOM::Element<std::string>& state); - void writePerTransitionPorts(std::ostream& os, const std::list<std::string>& outPorts, const DotState& dotState); - void writePerEventPorts(std::ostream& os, const std::list<std::string>& outPorts, const DotState& dotState); - void writePerTargetPorts(std::ostream& os, const std::list<std::string>& outPorts, const DotState& dotState); + void writePerTransitionPorts(std::ostream& os, const DotState& dotState, int stateLines = 0); + void writePerEventPorts(std::ostream& os, const DotState& dotState, int stateLines = 0); + void writePerTargetPorts(std::ostream& os, const DotState& dotState, int stateLines = 0); void writeUnknownNode(std::ostream& os, const std::string& targetId); @@ -184,6 +184,8 @@ protected: Arabica::DOM::Element<std::string> _transition; Arabica::DOM::Element<std::string> _scxml; Interpreter _interpreter; + bool _isFlat; + std::string _xmlNSPrefix; std::list<StateAnchor> _anchors; std::map<std::string, DotEdge> _histories; |