SkelGIS
3.0
|
Iterator class. More...
#include <iterator_rev.hpp>
Public Member Functions | |
iterator_rev () | |
default constructor of the iterator | |
iterator_rev (const unsigned int r) | |
constructor of the iterator | |
iterator_rev (const iterator_rev< T, 0 > &it) | |
constructor of the iterator from another iterator | |
~iterator_rev () | |
Destructor of the iterator. | |
iterator_rev< T, 0 > & | operator++ () |
operator ++ pre-incrementation of the iterator | |
iterator_rev< T, 0 > & | operator++ (int) |
operator ++ post-incrementation of the iterator | |
iterator_rev< T, 0 > & | operator= (iterator_rev< T, 0 > right) |
operator = of the iterator | |
bool | operator== (const iterator_rev< T, 0 > &toTest) |
operator == of the iterator | |
bool | operator!= (const iterator_rev< T, 0 > &toTest) |
operator != of the iterator | |
bool | operator<= (const iterator_rev< T, 0 > &toComp) |
operator <= of the iterator | |
bool | operator< (const iterator_rev< T, 0 > &toComp) |
operator < of the iterator | |
bool | operator>= (const iterator_rev< T, 0 > &toComp) |
operator >= of the iterator | |
bool | operator> (const iterator_rev< T, 0 > &toComp) |
operator > of the iterator | |
Public Attributes | |
unsigned int | _rank |
Iterator class.
template of the reverse iterator of SkelGIS. This is the second specialization of iterator class.
T | is the type of data stored in the DMatrix to manipulate with the iterator R is specialized with the value 0 |
Definition at line 154 of file iterator_rev.hpp.
skelgis::iterator_rev< T, 0 >::iterator_rev | ( | const unsigned int | r | ) | [inline] |
constructor of the iterator
r | is the initial rank to assign to the iterator |
Definition at line 169 of file iterator_rev.hpp.
skelgis::iterator_rev< T, 0 >::iterator_rev | ( | const iterator_rev< T, 0 > & | 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 176 of file iterator_rev.hpp.
bool skelgis::iterator_rev< T, 0 >::operator!= | ( | const iterator_rev< T, 0 > & | toTest | ) | [inline] |
operator != of the iterator
This operation checks the inequality of two iterators with their rank values.
Definition at line 225 of file iterator_rev.hpp.
iterator_rev<T,0>& skelgis::iterator_rev< T, 0 >::operator++ | ( | ) | [inline] |
operator ++ pre-incrementation of the iterator
This operation increments the position of the iterator in the DMatrix.
Definition at line 188 of file iterator_rev.hpp.
iterator_rev<T,0>& skelgis::iterator_rev< T, 0 >::operator++ | ( | int | ) | [inline] |
operator ++ post-incrementation of the iterator
This operation increments the position of the iterator in the DMatrix.
Definition at line 196 of file iterator_rev.hpp.
bool skelgis::iterator_rev< T, 0 >::operator< | ( | const iterator_rev< T, 0 > & | toComp | ) | [inline] |
operator < of the iterator
This operation checks if the current iterator rank is smaller than the other one.
Definition at line 240 of file iterator_rev.hpp.
bool skelgis::iterator_rev< T, 0 >::operator<= | ( | const iterator_rev< T, 0 > & | 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 233 of file iterator_rev.hpp.
iterator_rev<T,0>& skelgis::iterator_rev< T, 0 >::operator= | ( | iterator_rev< T, 0 > | right | ) | [inline] |
operator = of the iterator
This operation assigns another iterator informations to the current one.
Definition at line 204 of file iterator_rev.hpp.
bool skelgis::iterator_rev< T, 0 >::operator== | ( | const iterator_rev< T, 0 > & | toTest | ) | [inline] |
operator == of the iterator
This operation checks the equality of two iterators with their rank values.
Definition at line 217 of file iterator_rev.hpp.
bool skelgis::iterator_rev< T, 0 >::operator> | ( | const iterator_rev< T, 0 > & | toComp | ) | [inline] |
operator > of the iterator
This operation checks if the current iterator rank is biger than the other one.
Definition at line 256 of file iterator_rev.hpp.
bool skelgis::iterator_rev< T, 0 >::operator>= | ( | const iterator_rev< T, 0 > & | 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 248 of file iterator_rev.hpp.
unsigned int skelgis::iterator_rev< T, 0 >::_rank |
current rank of the iterator
Definition at line 158 of file iterator_rev.hpp.