SkelGIS  3.0
skelgis::iterator_dag Struct Reference

Iterator nodes class. More...

#include <iterator.hpp>

List of all members.

Public Member Functions

 iterator_dag ()
 default constructor of the iterator
 iterator_dag (const unsigned int r)
 constructor of the iterator
 iterator_dag (const iterator_dag &it)
 constructor of the iterator from another iterator
 ~iterator_dag ()
 Destructor of the iterator.
iterator_dagoperator++ ()
 operator ++ pre-incrementation of the iterator
iterator_dag operator++ (int)
 operator ++ post-incrementation of the iterator
iterator_dagoperator= (iterator_dag right)
 operator = of the iterator
bool operator== (const iterator_dag &toComp)
 operator = of the iterator
bool operator!= (const iterator_dag &toComp)
 operator != of the iterator
bool operator<= (const iterator_dag &toComp)
 operator <= of the iterator
bool operator< (const iterator_dag &toComp)
 operator <= of the iterator
bool operator>= (const iterator_dag &toComp)
 operator >= of the iterator
bool operator> (const iterator_dag &toComp)
 operator > of the iterator

Public Attributes

unsigned int _rank

Detailed Description

Iterator nodes class.

the iterator on nodes elements no template needed as this iterator is a simple rank and its incrementation

Definition at line 16 of file iterator.hpp.


Constructor & Destructor Documentation

skelgis::iterator_dag::iterator_dag ( const unsigned int  r) [inline]

constructor of the iterator

Parameters:
ris the initial rank to assign to the iterator

Definition at line 31 of file iterator.hpp.

constructor of the iterator from another iterator

Parameters:
itis the other iterator instance from which to construct the new one

Definition at line 38 of file iterator.hpp.


Member Function Documentation

bool skelgis::iterator_dag::operator!= ( const iterator_dag toComp) [inline]

operator != of the iterator

This operation checks the inequality of two iterators with their rank values.

Returns:
true if the two iterator do not have the same rank. False otherwize.

Definition at line 82 of file iterator.hpp.

iterator_dag& skelgis::iterator_dag::operator++ ( ) [inline]

operator ++ pre-incrementation of the iterator

This operation increments the position of the iterator in the DDAG on nodes.

Returns:
a reference to the resulting iterator itself

Definition at line 50 of file iterator.hpp.

iterator_dag skelgis::iterator_dag::operator++ ( int  ) [inline]

operator ++ post-incrementation of the iterator

This operation increments the position of the iterator in the DDAG on nodes.

Returns:
a reference to the resulting iterator itself

Definition at line 58 of file iterator.hpp.

bool skelgis::iterator_dag::operator< ( const iterator_dag toComp) [inline]

operator <= of the iterator

This operation checks if the current iterator rank is biger or equal to the other one.

Returns:
true is the current iterator rank is biger or equal. False otherwize.

Definition at line 98 of file iterator.hpp.

bool skelgis::iterator_dag::operator<= ( const iterator_dag toComp) [inline]

operator <= of the iterator

This operation checks if the current iterator rank is smaller or equal to the other one.

Returns:
true is the current iterator rank is smaller or equal. False otherwize.

Definition at line 90 of file iterator.hpp.

iterator_dag& skelgis::iterator_dag::operator= ( iterator_dag  right) [inline]

operator = of the iterator

This operation assigns another iterator informations to the current one.

Returns:
a reference to the resulting iterator itself

Definition at line 66 of file iterator.hpp.

bool skelgis::iterator_dag::operator== ( const iterator_dag toComp) [inline]

operator = of the iterator

This operation assigns another iterator informations to the current one.

Returns:
a reference to the resulting iterator itself

Definition at line 74 of file iterator.hpp.

bool skelgis::iterator_dag::operator> ( const iterator_dag toComp) [inline]

operator > of the iterator

This operation checks if the current iterator rank is biger than the other one.

Returns:
true is the current iterator rank is biger. False otherwize.

Definition at line 114 of file iterator.hpp.

bool skelgis::iterator_dag::operator>= ( const iterator_dag toComp) [inline]

operator >= of the iterator

This operation checks if the current iterator rank is biger or equal to the other one.

Returns:
true is the current iterator rank is biger or equal. False otherwize.

Definition at line 106 of file iterator.hpp.


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Defines