Changeset ac6d04 for src/grid/grid_iterator.hpp
- Timestamp:
- Apr 10, 2012, 1:55:49 PM (14 years ago)
- Children:
- a40eea
- Parents:
- d24c2f
- File:
-
- 1 edited
-
src/grid/grid_iterator.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/grid/grid_iterator.hpp
rd24c2f rac6d04 22 22 { 23 23 public: 24 GridIterator() 25 { 26 this->index = 0; 27 this->begin = 0; 28 this->end = 0; 29 }; 24 GridIterator() : 25 index(0), 26 begin(0), 27 end(0) 28 {} 30 29 31 GridIterator(const Index& index, const Index& begin, const Index& end) 32 { 33 this->index = index; 34 this->begin = begin; 35 this->end = end; 36 } 30 GridIterator(const Index& index, const Index& begin, const Index& end) : 31 index(index), 32 begin(begin), 33 end(end) 34 {} 37 35 38 GridIterator(const GridIterator& rhs) 39 { 40 this->index = rhs.index; 41 this->begin = rhs.begin; 42 this->end = rhs.end; 43 } 36 GridIterator(const GridIterator& rhs) : 37 index(rhs.index), 38 begin(rhs.begin), 39 end(rhs.end) 40 {} 44 41 45 42 virtual ~GridIterator() … … 51 48 this->begin = rhs.begin; 52 49 this->end = rhs.end; 53 54 50 return *this; 55 51 }
Note:
See TracChangeset
for help on using the changeset viewer.
