summaryrefslogtreecommitdiffstats
path: root/src/uscxml/debug/SCXMLDotWriter.h
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2012-12-20 21:34:09 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2012-12-20 21:34:09 (GMT)
commit498f6f80e9ca01236ca1491596875ab7eb4cd8c3 (patch)
treee627ae19475bb93a98dfa50db1950f6e3403f569 /src/uscxml/debug/SCXMLDotWriter.h
parentd779abe6ff76a78f92d229fcf1f006f5cf1f9295 (diff)
downloaduscxml-498f6f80e9ca01236ca1491596875ab7eb4cd8c3.zip
uscxml-498f6f80e9ca01236ca1491596875ab7eb4cd8c3.tar.gz
uscxml-498f6f80e9ca01236ca1491596875ab7eb4cd8c3.tar.bz2
Refactoring finished
Support datamodels, invokers and ioprocessors as plugins Comply to HTTP1.1 by sending host header field Started prolog datamodel
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;
};
}