SkelGIS
3.0
|
Iterator class. More...
#include <iterator_line.hpp>
Public Member Functions | |
iterator_line () | |
default constructor of the iterator | |
iterator_line (const unsigned int r, const unsigned int w) | |
constructor of the iterator | |
iterator_line (const iterator_line< T, 0 > &it) | |
constructor of the iterator from another iterator | |
~iterator_line () | |
Destructor of the iterator. | |
iterator_line< T, 0 > & | operator++ () |
operator ++ pre-incrementation of the iterator | |
iterator_line< T, 0 > & | operator++ (int) |
operator ++ post-incrementation of the iterator | |
iterator_line< T, 0 > & | operator-- () |
operator -- pre-decrementation of the iterator | |
iterator_line< T, 0 > & | operator-- (int) |
operator -- post-decrementation of the iterator | |
iterator_line< T, 0 > & | operator= (iterator_line< T, 0 > right) |
operator = of the iterator | |
bool | operator== (const iterator_line< T, 0 > &toTest) |
operator == of the iterator | |
bool | operator!= (const iterator_line< T, 0 > &toTest) |
operator != of the iterator | |
bool | operator<= (const iterator_line< T, 0 > &toComp) |
operator <= of the iterator | |
bool | operator< (const iterator_line< T, 0 > &toComp) |
operator < of the iterator | |
bool | operator>= (const iterator_line< T, 0 > &toComp) |
operator >= of the iterator | |
bool | operator> (const iterator_line< T, 0 > &toComp) |
operator > of the iterator | |
iterator< T, 0 > | begin () |
begin method of the line iterator | |
iterator_cont< T, 0 > | begin_cont () |
begin_cont method of the line iterator | |
iterator< T, 0 > | end () |
end method of the line iterator | |
iterator_cont< T, 0 > | end_cont () |
end_cont method of the line iterator | |
Public Attributes | |
unsigned int | _rank |
unsigned int | _width |
Iterator class.
template of the line iterator of SkelGIS. This is the first specialization of line 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 208 of file iterator_line.hpp.
skelgis::iterator_line< T, 0 >::iterator_line | ( | 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 225 of file iterator_line.hpp.
skelgis::iterator_line< T, 0 >::iterator_line | ( | const iterator_line< 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 232 of file iterator_line.hpp.
iterator<T,0> skelgis::iterator_line< T, 0 >::begin | ( | ) | [inline] |
begin method of the line iterator
This method returns an iterator on the first element of the current line of the DMatrix. This iterator is then used until the end() method of the line iterator is reached.
Definition at line 360 of file iterator_line.hpp.
iterator_cont<T,0> skelgis::iterator_line< T, 0 >::begin_cont | ( | ) | [inline] |
begin_cont method of the line iterator
This method returns an iterator contiguous on the first element of the current line of the DMatrix. This iterator is then used until the end() method of the line iterator is reached.
Definition at line 368 of file iterator_line.hpp.
iterator<T,0> skelgis::iterator_line< T, 0 >::end | ( | ) | [inline] |
end method of the line iterator
This method returns the end iterator on the current line of the DMatrix.
Definition at line 376 of file iterator_line.hpp.
iterator_cont<T,0> skelgis::iterator_line< T, 0 >::end_cont | ( | ) | [inline] |
end_cont method of the line iterator
This method returns the end contiguous iterator on the current line of the DMatrix.
Definition at line 384 of file iterator_line.hpp.
bool skelgis::iterator_line< T, 0 >::operator!= | ( | const iterator_line< T, 0 > & | toTest | ) | [inline] |
operator != of the iterator
This operation checks the inequality of two iterators with their rank values.
Definition at line 320 of file iterator_line.hpp.
iterator_line<T,0>& skelgis::iterator_line< T, 0 >::operator++ | ( | ) | [inline] |
operator ++ pre-incrementation of the iterator
This operation increments the position of the iterator in the DMatrix.
Definition at line 244 of file iterator_line.hpp.
iterator_line<T,0>& skelgis::iterator_line< 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 257 of file iterator_line.hpp.
iterator_line<T,0>& skelgis::iterator_line< T, 0 >::operator-- | ( | ) | [inline] |
operator -- pre-decrementation of the iterator
This operation decrements the position of the iterator in the DMatrix.
Definition at line 271 of file iterator_line.hpp.
iterator_line<T,0>& skelgis::iterator_line< T, 0 >::operator-- | ( | int | ) | [inline] |
operator -- post-decrementation of the iterator
This operation decrements the position of the iterator in the DMatrix.
Definition at line 284 of file iterator_line.hpp.
bool skelgis::iterator_line< T, 0 >::operator< | ( | const iterator_line< 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 336 of file iterator_line.hpp.
bool skelgis::iterator_line< T, 0 >::operator<= | ( | const iterator_line< 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 328 of file iterator_line.hpp.
iterator_line<T,0>& skelgis::iterator_line< T, 0 >::operator= | ( | iterator_line< T, 0 > | right | ) | [inline] |
operator = of the iterator
This operation assigns another iterator informations to the current one.
Definition at line 298 of file iterator_line.hpp.
bool skelgis::iterator_line< T, 0 >::operator== | ( | const iterator_line< T, 0 > & | toTest | ) | [inline] |
operator == of the iterator
This operation checks the equality of two iterators with their rank values.
Definition at line 312 of file iterator_line.hpp.
bool skelgis::iterator_line< T, 0 >::operator> | ( | const iterator_line< 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 352 of file iterator_line.hpp.
bool skelgis::iterator_line< T, 0 >::operator>= | ( | const iterator_line< 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 344 of file iterator_line.hpp.
unsigned int skelgis::iterator_line< T, 0 >::_rank |
current rank of the iterator
Definition at line 212 of file iterator_line.hpp.
unsigned int skelgis::iterator_line< T, 0 >::_width |
width of the DMatrix associated to this iterator
Definition at line 213 of file iterator_line.hpp.