diff options
Diffstat (limited to 'source/blender/freestyle/intern/system/Iterator.h')
-rw-r--r-- | source/blender/freestyle/intern/system/Iterator.h | 63 |
1 files changed, 32 insertions, 31 deletions
diff --git a/source/blender/freestyle/intern/system/Iterator.h b/source/blender/freestyle/intern/system/Iterator.h index c38dc09fd2e..75d49521f96 100644 --- a/source/blender/freestyle/intern/system/Iterator.h +++ b/source/blender/freestyle/intern/system/Iterator.h @@ -25,52 +25,53 @@ #include <string> #ifdef WITH_CXX_GUARDEDALLOC -#include "MEM_guardedalloc.h" +# include "MEM_guardedalloc.h" #endif using namespace std; namespace Freestyle { -class Iterator -{ -public: - virtual ~Iterator() {} +class Iterator { + public: + virtual ~Iterator() + { + } - virtual string getExactTypeName() const - { - return "Iterator"; - } + virtual string getExactTypeName() const + { + return "Iterator"; + } - virtual int increment() - { - cerr << "Warning: increment() not implemented" << endl; - return 0; - } + virtual int increment() + { + cerr << "Warning: increment() not implemented" << endl; + return 0; + } - virtual int decrement() - { - cerr << "Warning: decrement() 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 isBegin() const + { + cerr << "Warning: isBegin() not implemented" << endl; + return false; + } - virtual bool isEnd() const - { - cerr << "Warning: isEnd() not implemented" << endl; - return false; - } + virtual bool isEnd() const + { + cerr << "Warning: isEnd() not implemented" << endl; + return false; + } #ifdef WITH_CXX_GUARDEDALLOC - MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Iterator") + MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Iterator") #endif }; } /* namespace Freestyle */ -#endif // __FREESTYLE_ITERATOR_H__ +#endif // __FREESTYLE_ITERATOR_H__ |