SkelGIS
3.0
|
Iterator class. More...
#include <iterator_cont.hpp>
Public Member Functions | |
iterator_cont () | |
default constructor of the iterator | |
iterator_cont (const unsigned int r) | |
constructor of the iterator | |
iterator_cont (const iterator_cont< T, 0 > &it) | |
constructor of the iterator from another iterator | |
~iterator_cont () | |
Destructor of the iterator. | |
iterator_cont< T, 0 > & | operator++ () |
operator ++ pre-incrementation of the iterator | |
iterator_cont< T, 0 > & | operator++ (int) |
operator ++ post-incrementation of the iterator | |
iterator_cont< T, 0 > & | operator= (iterator_cont< T, 0 > right) |
operator = of the iterator | |
bool | operator== (const iterator_cont< T, 0 > &toTest) |
operator = of the iterator | |
bool | operator!= (const iterator_cont< T, 0 > &toTest) |
operator != of the iterator | |
bool | operator<= (const iterator_cont< T, 0 > &toComp) |
operator <= of the iterator | |
bool | operator< (const iterator_cont< T, 0 > &toComp) |
operator <= of the iterator | |
bool | operator>= (const iterator_cont< T, 0 > &toComp) |
operator >= of the iterator | |
bool | operator> (const iterator_cont< T, 0 > &toComp) |
operator > of the iterator | |
Public Attributes | |
unsigned int | _rank |
Iterator class.
template of the contiguous 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 152 of file iterator_cont.hpp.
skelgis::iterator_cont< T, 0 >::iterator_cont | ( | const unsigned int | r | ) | [inline] |
constructor of the iterator
r | is the initial rank to assign to the iterator |
Definition at line 167 of file iterator_cont.hpp.
skelgis::iterator_cont< T, 0 >::iterator_cont | ( | const iterator_cont< 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 174 of file iterator_cont.hpp.
bool skelgis::iterator_cont< T, 0 >::operator!= | ( | const iterator_cont< T, 0 > & | toTest | ) | [inline] |
operator != of the iterator
This operation checks the inequality of two iterators with their rank values.
Definition at line 223 of file iterator_cont.hpp.
iterator_cont<T,0>& skelgis::iterator_cont< T, 0 >::operator++ | ( | ) | [inline] |
operator ++ pre-incrementation of the iterator
This operation increments the position of the iterator in the DMatrix.
Definition at line 186 of file iterator_cont.hpp.
iterator_cont<T,0>& skelgis::iterator_cont< 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 194 of file iterator_cont.hpp.
bool skelgis::iterator_cont< T, 0 >::operator< | ( | const iterator_cont< 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 239 of file iterator_cont.hpp.
bool skelgis::iterator_cont< T, 0 >::operator<= | ( | const iterator_cont< 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 231 of file iterator_cont.hpp.
iterator_cont<T,0>& skelgis::iterator_cont< T, 0 >::operator= | ( | iterator_cont< T, 0 > | right | ) | [inline] |
operator = of the iterator
This operation assigns another iterator informations to the current one.
Definition at line 202 of file iterator_cont.hpp.
bool skelgis::iterator_cont< T, 0 >::operator== | ( | const iterator_cont< T, 0 > & | toTest | ) | [inline] |
operator = of the iterator
This operation assigns another iterator informations to the current one.
Definition at line 215 of file iterator_cont.hpp.
bool skelgis::iterator_cont< T, 0 >::operator> | ( | const iterator_cont< 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 255 of file iterator_cont.hpp.
bool skelgis::iterator_cont< T, 0 >::operator>= | ( | const iterator_cont< 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 247 of file iterator_cont.hpp.
unsigned int skelgis::iterator_cont< T, 0 >::_rank |
current rank of the iterator
Definition at line 156 of file iterator_cont.hpp.