diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2014-12-16 14:05:47 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2014-12-16 14:05:47 +0000 |
| commit | 0533bf991e946b09053753566f209940f500d368 (patch) | |
| tree | 2397d3e048ae8393126d928e0f163ee3638d722c /src/xml/simple-node.h | |
| parent | Read 'context-fill' and 'context-stroke' keywords. (diff) | |
| download | inkscape-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.h | 3 |
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); |
