Const-iterator for 2D-hash arrays. More...
#include <ogdf/basic/HashIterator2D.h>
Public Member Functions | |
| HashConstIterator2D () | |
| Creates an (invalid) iterator. | |
| HashConstIterator2D (const HashConstIterator2D< I1_, I2_, E_, Hash1_, Hash2_ > &it) | |
| Copy constructor. | |
| HashConstIterator2D (const HashConstIterator< Tuple2< I1_, I2_ >, E_, HashFuncTuple< I1_, I2_, Hash1_, Hash2_ > > &it) | |
| Copy constructor (from HashConstIterator). | |
| HashConstIterator2D< I1_, I2_, E_, Hash1_, Hash2_ > & | operator= (const HashConstIterator2D< I1_, I2_, E_, Hash1_, Hash2_ > &it) |
| Assignemnt operator. | |
| bool | valid () const |
| Returns true iff the iterator points to an element. | |
| const I1_ & | key1 () const |
| Returns the first key of the hash element pointed to. | |
| const I2_ & | key2 () const |
| Returns the second key of the hash element pointed to. | |
| const E_ & | info () const |
| Returns the information of the element pointed to. | |
| HashConstIterator2D< I1_, I2_, E_, Hash1_, Hash2_ > & | operator++ () |
| Sets the iterator to the next element in the 2D-hash array. | |
Const-iterator for 2D-hash arrays.
Definition at line 74 of file HashIterator2D.h.
| ogdf::HashConstIterator2D< I1_, I2_, E_, Hash1_, Hash2_ >::HashConstIterator2D | ( | ) | [inline] |
Creates an (invalid) iterator.
Definition at line 79 of file HashIterator2D.h.
| ogdf::HashConstIterator2D< I1_, I2_, E_, Hash1_, Hash2_ >::HashConstIterator2D | ( | const HashConstIterator2D< I1_, I2_, E_, Hash1_, Hash2_ > & | it | ) | [inline] |
Copy constructor.
Definition at line 82 of file HashIterator2D.h.
| ogdf::HashConstIterator2D< I1_, I2_, E_, Hash1_, Hash2_ >::HashConstIterator2D | ( | const HashConstIterator< Tuple2< I1_, I2_ >, E_, HashFuncTuple< I1_, I2_, Hash1_, Hash2_ > > & | it | ) | [inline] |
Copy constructor (from HashConstIterator).
Definition at line 86 of file HashIterator2D.h.
| const E_& ogdf::HashConstIterator2D< I1_, I2_, E_, Hash1_, Hash2_ >::info | ( | ) | const [inline] |
Returns the information of the element pointed to.
Reimplemented from ogdf::HashConstIterator< Tuple2< I1_, I2_ >, E_, HashFuncTuple< I1_, I2_, Hash1_, Hash2_ > >.
Definition at line 113 of file HashIterator2D.h.
| const I1_& ogdf::HashConstIterator2D< I1_, I2_, E_, Hash1_, Hash2_ >::key1 | ( | ) | const [inline] |
Returns the first key of the hash element pointed to.
Definition at line 103 of file HashIterator2D.h.
| const I2_& ogdf::HashConstIterator2D< I1_, I2_, E_, Hash1_, Hash2_ >::key2 | ( | ) | const [inline] |
Returns the second key of the hash element pointed to.
Definition at line 108 of file HashIterator2D.h.
| HashConstIterator2D<I1_,I2_,E_,Hash1_,Hash2_>& ogdf::HashConstIterator2D< I1_, I2_, E_, Hash1_, Hash2_ >::operator++ | ( | ) | [inline] |
Sets the iterator to the next element in the 2D-hash array.
Reimplemented from ogdf::HashConstIterator< Tuple2< I1_, I2_ >, E_, HashFuncTuple< I1_, I2_, Hash1_, Hash2_ > >.
Definition at line 118 of file HashIterator2D.h.
| HashConstIterator2D<I1_,I2_,E_,Hash1_,Hash2_>& ogdf::HashConstIterator2D< I1_, I2_, E_, Hash1_, Hash2_ >::operator= | ( | const HashConstIterator2D< I1_, I2_, E_, Hash1_, Hash2_ > & | it | ) | [inline] |
Assignemnt operator.
Definition at line 91 of file HashIterator2D.h.
| bool ogdf::HashConstIterator2D< I1_, I2_, E_, Hash1_, Hash2_ >::valid | ( | ) | const [inline] |
Returns true iff the iterator points to an element.
Reimplemented from ogdf::HashConstIterator< Tuple2< I1_, I2_ >, E_, HashFuncTuple< I1_, I2_, Hash1_, Hash2_ > >.
Definition at line 98 of file HashIterator2D.h.