summaryrefslogtreecommitdiffstats
path: root/src/uscxml/debug/SCXMLDotWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/debug/SCXMLDotWriter.h')
-rw-r--r--src/uscxml/debug/SCXMLDotWriter.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/src/uscxml/debug/SCXMLDotWriter.h b/src/uscxml/debug/SCXMLDotWriter.h
index 7ebb916..0a3c2dc 100644
--- a/src/uscxml/debug/SCXMLDotWriter.h
+++ b/src/uscxml/debug/SCXMLDotWriter.h
@@ -11,33 +11,33 @@ class Interpreter;
class SCXMLDotWriter {
public:
-
- struct ElemDetails {
- std::string name;
- std::string details;
- std::string content;
- };
-
+
+ struct ElemDetails {
+ std::string name;
+ std::string details;
+ std::string content;
+ };
+
SCXMLDotWriter(Interpreter* interpreter);
~SCXMLDotWriter();
-
- static void toDot(const std::string& filename, Interpreter* interpreter);
- void writeSCXMLElement(std::ostream& os, const Arabica::DOM::Element<std::string>& elem);
- void writeStateElement(std::ostream& os, const Arabica::DOM::Element<std::string>& elem);
- void writeTransitionElement(std::ostream& os, const Arabica::DOM::Element<std::string>& elem);
-
- std::string getDetailedLabel(const Arabica::DOM::Element<std::string>& elem, int indentation = 0);
- std::string colorForIndent(int indent);
-
- std::string idForNode(const Arabica::DOM::Node<std::string>& node);
- std::string nameForNode(const Arabica::DOM::Node<std::string>& node);
-
- static std::string getPrefix();
- static std::string dotEscape(const std::string& text);
-
- Interpreter* _interpreter;
- std::set<std::string> _knownIds;
- static int _indentation;
+
+ static void toDot(const std::string& filename, Interpreter* interpreter);
+ void writeSCXMLElement(std::ostream& os, const Arabica::DOM::Element<std::string>& elem);
+ void writeStateElement(std::ostream& os, const Arabica::DOM::Element<std::string>& elem);
+ void writeTransitionElement(std::ostream& os, const Arabica::DOM::Element<std::string>& elem);
+
+ std::string getDetailedLabel(const Arabica::DOM::Element<std::string>& elem, int indentation = 0);
+ std::string colorForIndent(int indent);
+
+ std::string idForNode(const Arabica::DOM::Node<std::string>& node);
+ std::string nameForNode(const Arabica::DOM::Node<std::string>& node);
+
+ static std::string getPrefix();
+ static std::string dotEscape(const std::string& text);
+
+ Interpreter* _interpreter;
+ std::set<std::string> _knownIds;
+ static int _indentation;
};
}