SkelGIS
3.0
|
Iterator nodes class. More...
#include <iterator.hpp>
Public Member Functions | |
iterator_dag () | |
default constructor of the iterator | |
iterator_dag (const unsigned int r) | |
constructor of the iterator | |
iterator_dag (const iterator_dag &it) | |
constructor of the iterator from another iterator | |
~iterator_dag () | |
Destructor of the iterator. | |
iterator_dag & | operator++ () |
operator ++ pre-incrementation of the iterator | |
iterator_dag | operator++ (int) |
operator ++ post-incrementation of the iterator | |
iterator_dag & | operator= (iterator_dag right) |
operator = of the iterator | |
bool | operator== (const iterator_dag &toComp) |
operator = of the iterator | |
bool | operator!= (const iterator_dag &toComp) |
operator != of the iterator | |
bool | operator<= (const iterator_dag &toComp) |
operator <= of the iterator | |
bool | operator< (const iterator_dag &toComp) |
operator <= of the iterator | |
bool | operator>= (const iterator_dag &toComp) |
operator >= of the iterator | |
bool | operator> (const iterator_dag &toComp) |
operator > of the iterator | |
Public Attributes | |
unsigned int | _rank |
Iterator nodes class.
the iterator on nodes elements no template needed as this iterator is a simple rank and its incrementation
Definition at line 16 of file iterator.hpp.
skelgis::iterator_dag::iterator_dag | ( | const unsigned int | r | ) | [inline] |
constructor of the iterator
r | is the initial rank to assign to the iterator |
Definition at line 31 of file iterator.hpp.
skelgis::iterator_dag::iterator_dag | ( | const iterator_dag & | it | ) | [inline] |
constructor of the iterator from another iterator
it | is the other iterator instance from which to construct the new one |
Definition at line 38 of file iterator.hpp.
bool skelgis::iterator_dag::operator!= | ( | const iterator_dag & | toComp | ) | [inline] |
operator != of the iterator
This operation checks the inequality of two iterators with their rank values.
Definition at line 82 of file iterator.hpp.
iterator_dag& skelgis::iterator_dag::operator++ | ( | ) | [inline] |
operator ++ pre-incrementation of the iterator
This operation increments the position of the iterator in the DDAG on nodes.
Definition at line 50 of file iterator.hpp.
iterator_dag skelgis::iterator_dag::operator++ | ( | int | ) | [inline] |
operator ++ post-incrementation of the iterator
This operation increments the position of the iterator in the DDAG on nodes.
Definition at line 58 of file iterator.hpp.
bool skelgis::iterator_dag::operator< | ( | const iterator_dag & | toComp | ) | [inline] |
operator <= of the iterator
This operation checks if the current iterator rank is biger or equal to the other one.
Definition at line 98 of file iterator.hpp.
bool skelgis::iterator_dag::operator<= | ( | const iterator_dag & | toComp | ) | [inline] |
operator <= of the iterator
This operation checks if the current iterator rank is smaller or equal to the other one.
Definition at line 90 of file iterator.hpp.
iterator_dag& skelgis::iterator_dag::operator= | ( | iterator_dag | right | ) | [inline] |
operator = of the iterator
This operation assigns another iterator informations to the current one.
Definition at line 66 of file iterator.hpp.
bool skelgis::iterator_dag::operator== | ( | const iterator_dag & | toComp | ) | [inline] |
operator = of the iterator
This operation assigns another iterator informations to the current one.
Definition at line 74 of file iterator.hpp.
bool skelgis::iterator_dag::operator> | ( | const iterator_dag & | toComp | ) | [inline] |
operator > of the iterator
This operation checks if the current iterator rank is biger than the other one.
Definition at line 114 of file iterator.hpp.
bool skelgis::iterator_dag::operator>= | ( | const iterator_dag & | toComp | ) | [inline] |
operator >= of the iterator
This operation checks if the current iterator rank is biger or equal to the other one.
Definition at line 106 of file iterator.hpp.