SkelGIS
3.0
|
Iterator class. More...
#include <iterator_step.hpp>
Public Member Functions | |
iterator_step () | |
default constructor of the iterator | |
iterator_step (const unsigned int r, int s=1, int n=1) | |
constructor of the iterator | |
iterator_step (const iterator_step< T, 0 > &it) | |
constructor of the iterator from another iterator | |
~iterator_step () | |
Destructor of the iterator. | |
iterator_step< T, 0 > & | operator++ () |
operator ++ pre-incrementation of the iterator | |
iterator_step< T, 0 > & | operator++ (int) |
operator ++ post-incrementation of the iterator | |
iterator_step< T, 0 > & | operator= (iterator_step< T, 0 > right) |
operator = of the iterator | |
bool | operator== (const iterator_step< T, 0 > &toTest) |
operator == of the iterator | |
bool | operator!= (const iterator_step< T, 0 > &toTest) |
operator != of the iterator | |
bool | operator<= (const iterator_step< T, 0 > &toComp) |
operator <= of the iterator | |
bool | operator< (const iterator_step< T, 0 > &toComp) |
operator < of the iterator | |
bool | operator>= (const iterator_step< T, 0 > &toComp) |
operator >= of the iterator | |
bool | operator> (const iterator_step< T, 0 > &toComp) |
operator > of the iterator | |
Public Attributes | |
unsigned int | _rank |
int | _step |
int | _nb |
int | _cpt |
Iterator class.
template of the step 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 180 of file iterator_step.hpp.
skelgis::iterator_step< T, 0 >::iterator_step | ( | const unsigned int | r, |
int | s = 1 , |
||
int | n = 1 |
||
) | [inline] |
constructor of the iterator
r | is the initial rank to assign to the iterator |
w | is the DMatrix width to assign to the iterator |
s | is the step value to jump |
n | is the number of elements to read before the jump |
Definition at line 201 of file iterator_step.hpp.
skelgis::iterator_step< T, 0 >::iterator_step | ( | const iterator_step< 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 208 of file iterator_step.hpp.
bool skelgis::iterator_step< T, 0 >::operator!= | ( | const iterator_step< T, 0 > & | toTest | ) | [inline] |
operator != of the iterator
This operation checks the inequality of two iterators with their rank values.
Definition at line 289 of file iterator_step.hpp.
iterator_step<T,0>& skelgis::iterator_step< T, 0 >::operator++ | ( | ) | [inline] |
operator ++ pre-incrementation of the iterator
This operation increments the position of the iterator in the DMatrix.
Definition at line 220 of file iterator_step.hpp.
iterator_step<T,0>& skelgis::iterator_step< 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 242 of file iterator_step.hpp.
bool skelgis::iterator_step< T, 0 >::operator< | ( | const iterator_step< 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 305 of file iterator_step.hpp.
bool skelgis::iterator_step< T, 0 >::operator<= | ( | const iterator_step< 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 297 of file iterator_step.hpp.
iterator_step<T,0>& skelgis::iterator_step< T, 0 >::operator= | ( | iterator_step< T, 0 > | right | ) | [inline] |
operator = of the iterator
This operation assigns another iterator informations to the current one.
Definition at line 265 of file iterator_step.hpp.
bool skelgis::iterator_step< T, 0 >::operator== | ( | const iterator_step< T, 0 > & | toTest | ) | [inline] |
operator == of the iterator
This operation checks the equality of two iterators with their rank values.
Definition at line 281 of file iterator_step.hpp.
bool skelgis::iterator_step< T, 0 >::operator> | ( | const iterator_step< 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 321 of file iterator_step.hpp.
bool skelgis::iterator_step< T, 0 >::operator>= | ( | const iterator_step< 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 313 of file iterator_step.hpp.
int skelgis::iterator_step< T, 0 >::_cpt |
counter to know how much elements has been read for know
Definition at line 187 of file iterator_step.hpp.
int skelgis::iterator_step< T, 0 >::_nb |
number of contiguous elements to read
Definition at line 186 of file iterator_step.hpp.
unsigned int skelgis::iterator_step< T, 0 >::_rank |
current rank of the iterator
Definition at line 184 of file iterator_step.hpp.
int skelgis::iterator_step< T, 0 >::_step |
number of elements to jump after a read of _nb elements
Definition at line 185 of file iterator_step.hpp.