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

Iterator.h « system « intern « freestyle « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 10862d7c8da758bb48b05d0ca3b6d4922a28bd21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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