SkelGIS
3.0
|
Iterator class. More...
#include <iterator_phb.hpp>
Public Member Functions | |
iterator_phb_right () | |
default constructor of the iterator | |
iterator_phb_right (const unsigned int r, const unsigned int w) | |
constructor of the iterator | |
iterator_phb_right (const iterator_phb_right< T, R > &it) | |
constructor of the iterator from another iterator | |
~iterator_phb_right () | |
Destructor of the iterator. | |
iterator_phb_right< T, R > & | operator++ () |
operator ++ pre-incrementation of the iterator | |
iterator_phb_right< T, R > & | operator++ (int) |
operator ++ post-incrementation of the iterator | |
iterator_phb_right< T, R > & | operator= (iterator_phb_right< T, R > &right) |
operator = of the iterator | |
bool | operator== (const iterator_phb_right< T, R > &toTest) |
operator == of the iterator | |
bool | operator!= (const iterator_phb_right< T, R > &toTest) |
operator != of the iterator | |
bool | operator<= (const iterator_phb_right< T, R > &toComp) |
operator <= of the iterator | |
bool | operator< (const iterator_phb_right< T, R > &toComp) |
operator < of the iterator | |
bool | operator>= (const iterator_phb_right< T, R > &toComp) |
operator >= of the iterator | |
bool | operator> (const iterator_phb_right< T, R > &toComp) |
operator > of the iterator | |
Public Attributes | |
unsigned int | _rank |
unsigned int | _width |
Iterator class.
template of the right physical border iterator of SkelGIS. This is the first specialization of iterator_phb_right class.
T | is the type of data stored in the DMatrix to manipulate with the iterator |
R | is the overlap distance needed by the calculation, and the same overlap than in the DMatrix to manipulate with this iterator. |
Definition at line 308 of file iterator_phb.hpp.
skelgis::iterator_phb_right< T, R >::iterator_phb_right | ( | const unsigned int | r, |
const unsigned int | w | ||
) | [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 |
Definition at line 325 of file iterator_phb.hpp.
skelgis::iterator_phb_right< T, R >::iterator_phb_right | ( | const iterator_phb_right< T, R > & | 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 332 of file iterator_phb.hpp.
bool skelgis::iterator_phb_right< T, R >::operator!= | ( | const iterator_phb_right< T, R > & | toTest | ) | [inline] |
operator != of the iterator
This operation checks the inequality of two iterators with their rank values.
Definition at line 399 of file iterator_phb.hpp.
iterator_phb_right<T,R>& skelgis::iterator_phb_right< T, R >::operator++ | ( | ) | [inline] |
operator ++ pre-incrementation of the iterator
This operation increments the position of the iterator in the DMatrix.
Definition at line 344 of file iterator_phb.hpp.
iterator_phb_right<T,R>& skelgis::iterator_phb_right< T, R >::operator++ | ( | int | ) | [inline] |
operator ++ post-incrementation of the iterator
This operation increments the position of the iterator in the DMatrix.
Definition at line 360 of file iterator_phb.hpp.
bool skelgis::iterator_phb_right< T, R >::operator< | ( | const iterator_phb_right< T, R > & | toComp | ) | [inline] |
operator < of the iterator
This operation checks if the current iterator rank is smaller than the other one.
Definition at line 415 of file iterator_phb.hpp.
bool skelgis::iterator_phb_right< T, R >::operator<= | ( | const iterator_phb_right< T, R > & | 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 407 of file iterator_phb.hpp.
iterator_phb_right<T,R>& skelgis::iterator_phb_right< T, R >::operator= | ( | iterator_phb_right< T, R > & | right | ) | [inline] |
operator = of the iterator
This operation assigns another iterator informations to the current one.
Definition at line 377 of file iterator_phb.hpp.
bool skelgis::iterator_phb_right< T, R >::operator== | ( | const iterator_phb_right< T, R > & | toTest | ) | [inline] |
operator == of the iterator
This operation checks the equality of two iterators with their rank values.
Definition at line 391 of file iterator_phb.hpp.
bool skelgis::iterator_phb_right< T, R >::operator> | ( | const iterator_phb_right< T, R > & | toComp | ) | [inline] |
operator > of the iterator
This operation checks if the current iterator rank is biger than the other one.
Definition at line 431 of file iterator_phb.hpp.
bool skelgis::iterator_phb_right< T, R >::operator>= | ( | const iterator_phb_right< T, R > & | 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 423 of file iterator_phb.hpp.
unsigned int skelgis::iterator_phb_right< T, R >::_rank |
current rank of the iterator
Definition at line 312 of file iterator_phb.hpp.
unsigned int skelgis::iterator_phb_right< T, R >::_width |
width of the DMatrix associated to this iterator
Definition at line 313 of file iterator_phb.hpp.