diff options
Diffstat (limited to 'test-code/CSGTextCache.h')
-rw-r--r-- | test-code/CSGTextCache.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/test-code/CSGTextCache.h b/test-code/CSGTextCache.h deleted file mode 100644 index 57a6972..0000000 --- a/test-code/CSGTextCache.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef CSGTEXTCACHE_H_ -#define CSGTEXTCACHE_H_ - -#include "myqhash.h" -#include "Tree.h" -#include <string> - -using std::string; - -class CSGTextCache -{ -public: - CSGTextCache(const Tree &tree) : tree(tree) {} - ~CSGTextCache() {} - - bool contains(const AbstractNode &node) const; - string operator[](const AbstractNode &node) const; - void insert(const class AbstractNode &node, const string & value); - void remove(const class AbstractNode &node); - void clear(); - -private: - QHash<string, string> cache; - const Tree &tree; -}; - -#endif |