diff options
author | Marius Kintel <marius@kintel.net> | 2010-08-30 22:52:39 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2010-10-31 00:42:39 (GMT) |
commit | 728f4ac7901c8cfe1724b90effc96bd15ffb3fd0 (patch) | |
tree | 4cfc679debe8c42584f159052aefc66073aa273c /test-code/CSGTextCache.h | |
parent | 067bc0ab31be36961a53a56a317c5c939f7cf11a (diff) |
Moved more tests from test-code to tests
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 |