summaryrefslogtreecommitdiffstats
path: root/src/xml/simple-node.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-12-16 14:05:47 +0000
committertavmjong-free <tavmjong@free.fr>2014-12-16 14:05:47 +0000
commit0533bf991e946b09053753566f209940f500d368 (patch)
tree2397d3e048ae8393126d928e0f163ee3638d722c /src/xml/simple-node.h
parentRead 'context-fill' and 'context-stroke' keywords. (diff)
downloadinkscape-0533bf991e946b09053753566f209940f500d368.tar.gz
inkscape-0533bf991e946b09053753566f209940f500d368.zip
Debugging routines to print out XML, SP Object, and Display Item trees.
(bzr r13802)
Diffstat (limited to 'src/xml/simple-node.h')
-rw-r--r--src/xml/simple-node.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xml/simple-node.h b/src/xml/simple-node.h
index 1fcb9193b..d09392249 100644
--- a/src/xml/simple-node.h
+++ b/src/xml/simple-node.h
@@ -19,6 +19,7 @@
#define SEEN_INKSCAPE_XML_SIMPLE_NODE_H
#include <cassert>
+#include <iostream>
#include "xml/node.h"
#include "xml/attribute-record.h"
@@ -120,6 +121,8 @@ public:
_subtree_observers.remove(observer);
}
+ void recursivePrintTree(unsigned level = 0);
+
protected:
SimpleNode(int code, Document *document);
SimpleNode(SimpleNode const &repr, Document *document);