|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
46 template<
class I1_,
class I2_,
class E_,
class Hash1_ = DefHashFunc<I1_>,
class Hash2_ = DefHashFunc<I2_>>
48 :
private HashConstIterator<Tuple2<I1_, I2_>, E_, HashFuncTuple<I1_, I2_, Hash1_, Hash2_>> {
The namespace for all OGDF objects.
Const-iterator for 2D-hash arrays.
Declaration of classes used for hashing.
Tuples of two elements (2-tuples).
bool valid() const
Returns true iff the iterator points to an element.
HashConstIterator2D< I1_, I2_, E_, Hash1_, Hash2_ > & operator++()
Sets the iterator to the next element in the 2D-hash array.
HashConstIterator2D(const HashConstIterator< Tuple2< I1_, I2_ >, E_, HashFuncTuple< I1_, I2_, Hash1_, Hash2_ >> &it)
Copy constructor (from HashConstIterator).
const E2 & x2() const
Returns a reference the second element.
HashConstIterator2D< I1_, I2_, E_, Hash1_, Hash2_ > & operator=(const HashConstIterator2D< I1_, I2_, E_, Hash1_, Hash2_ > &it)
Assignemnt operator.
HashConstIterator2D()
Creates an (invalid) iterator.
const I1_ & key1() const
Returns the first key of the hash element pointed to.
const E_ & info() const
Returns the information of the element pointed to.
const Tuple2< I1_, I2_ > & key() const
Returns the key of the hash element pointed to.
Iterators for hash tables.
HashConstIterator2D(const HashConstIterator2D< I1_, I2_, E_, Hash1_, Hash2_ > &it)
Copy constructor.
const I2_ & key2() const
Returns the second key of the hash element pointed to.
const E1 & x1() const
Returns a reference the first element.
Declaration and implementation of class Tuple2, Tuple3 and Tuple4.