summaryrefslogtreecommitdiff
path: root/src/nodedumper.h
diff options
context:
space:
mode:
authorkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-10-31 01:58:50 (GMT)
committerkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-10-31 01:58:50 (GMT)
commite0c5673e1bf965fbb1bbbef2562a54be1a3144a3 (patch)
tree5996824c15ccca985630ff07294a5b79158e4d86 /src/nodedumper.h
parentb3f4c98c80acaa414f7bdacc86314d97267acba5 (diff)
Reverted accidental commits
git-svn-id: http://svn.clifford.at/openscad/trunk@573 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'src/nodedumper.h')
-rw-r--r--src/nodedumper.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/nodedumper.h b/src/nodedumper.h
deleted file mode 100644
index 568d578..0000000
--- a/src/nodedumper.h
+++ /dev/null
@@ -1,37 +0,0 @@
-#ifndef NODEDUMPER_H_
-#define NODEDUMPER_H_
-
-#include <string>
-#include <map>
-#include <list>
-#include "visitor.h"
-#include "nodecache.h"
-
-using std::string;
-using std::map;
-using std::list;
-
-class NodeDumper : public Visitor
-{
-public:
- NodeDumper() : root(NULL) {}
- virtual ~NodeDumper() {}
-
- virtual Response visit(const State &state, const AbstractNode &node);
-
- const string &getDump() const;
-private:
- void handleVisitedChildren(const State &state, const AbstractNode &node);
- bool isCached(const AbstractNode &node);
- void handleIndent(const State &state);
- string dumpChildren(const AbstractNode &node);
-
- string currindent;
- const AbstractNode *root;
- typedef list<const AbstractNode *> ChildList;
- map<int, ChildList> visitedchildren;
- NodeCache<string> cache;
-};
-
-
-#endif
contact: Jan Huwald // Impressum