Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/freestyle/intern/system/Iterator.h')
-rw-r--r--source/blender/freestyle/intern/system/Iterator.h41
1 files changed, 41 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..1801c1e3b2f
--- /dev/null
+++ b/source/blender/freestyle/intern/system/Iterator.h
@@ -0,0 +1,41 @@
+#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 int increment() {
+ cerr << "Warning: increment() not implemented" << endl;
+ return 0;
+ }
+
+ virtual int decrement() {
+ cerr << "Warning: decrement() not implemented" << endl;
+ return 0;
+ }
+
+ virtual bool isBegin() const {
+ cerr << "Warning: isBegin() not implemented" << endl;
+ return false;
+ }
+
+ virtual bool isEnd() const {
+ cerr << "Warning: isEnd() not implemented" << endl;
+ return false;
+ }
+
+};
+
+#endif // ITERATOR_H