diff options
Diffstat (limited to 'source/blender/freestyle/intern/system/Iterator.h')
-rw-r--r-- | source/blender/freestyle/intern/system/Iterator.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/system/Iterator.h b/source/blender/freestyle/intern/system/Iterator.h new file mode 100644 index 00000000000..10862d7c8da --- /dev/null +++ b/source/blender/freestyle/intern/system/Iterator.h @@ -0,0 +1,38 @@ +#ifndef ITERATOR_H +#define ITERATOR_H + +#include <iostream> +#include <string> +using namespace std; + +class Iterator +{ +public: + + virtual ~Iterator() {} + + virtual string getExactTypeName() const { + return "Iterator"; + } + + virtual void increment() { + cerr << "Warning: method increment() not implemented" << endl; + } + + virtual void decrement() { + cerr << "Warning: method decrement() not implemented" << endl; + } + + virtual bool isBegin() const { + cerr << "Warning: method isBegin() not implemented" << endl; + return false; + } + + virtual bool isEnd() const { + cerr << "Warning: method isEnd() not implemented" << endl; + return false; + } + +}; + +#endif // ITERATOR_H
\ No newline at end of file |