43template<
class GraphObjectPtr,
bool isReverse>
45template<
class GraphObjectPtr>
47template<
class GraphObjectPtr>
50template<
class GraphObjectPtr,
bool isReverse>
61 template<
bool isArgReverse>
105template<
class ArrayType,
bool isConst>
106class GraphArrayIteratorBase;
107template<
class ArrayType>
109template<
class ArrayType>
112template<
class ArrayType,
bool isConst>
121 typename ArrayType::value_type>::type;
Implementation of the Reverse class for the reverse iteration of containers.
Basic declarations, included by all source files.
GraphArrayIteratorBase(const GraphArrayIteratorBase< ArrayType, isConst > &iter)
Copy constructor.
GraphArrayIteratorBase< ArrayType, isConst > & operator=(const GraphArrayIteratorBase< ArrayType, isConst > &iter)
Copy assignment operator.
key_type key() const
Index in m_array.
array_pointer_type m_array
The array.
key_type m_key
Index in m_array.
GraphArrayIteratorBase< ArrayType, isConst > & operator--()
Decrement operator (prefix).
GraphArrayIteratorBase(const GraphArrayIteratorBase< ArrayType, isArgConst > &iter)
Constructor.
value_type & value() const
Value of m_array at index m_key.
bool operator!=(const GraphArrayIteratorBase< ArrayType, isConst > &iter) const
Inequality operator.
typename ArrayType::key_type key_type
Index type of the associated array.
GraphArrayIteratorBase< ArrayType, isConst > operator--(int)
Decrement operator (postfix).
typename std::conditional< isConst, const ArrayType *, ArrayType * >::type array_pointer_type
Type of the array.
GraphArrayIteratorBase< ArrayType, isConst > operator++(int)
Increment operator (postfix).
value_type & operator*() const
Value of m_array at index m_key.
typename std::conditional< isConst, const typename ArrayType::value_type, typename ArrayType::value_type >::type value_type
Value type of the associated array.
GraphArrayIteratorBase< ArrayType, isConst > & operator++()
Increment operator (prefix).
GraphArrayIteratorBase(key_type key, array_pointer_type a)
Constructor.
bool operator==(const GraphArrayIteratorBase< ArrayType, isConst > &iter) const
Equality operator.
GraphArrayIteratorBase()
Constructor.
GraphObjectPtr & operator*()
GraphIteratorBase< GraphObjectPtr, isReverse > & operator++()
Increment operator (prefix).
GraphIteratorBase< GraphObjectPtr, isReverse > operator++(int)
Increment operator (postfix).
bool operator!=(const GraphIteratorBase< GraphObjectPtr, isReverse > &other) const
bool operator==(const GraphIteratorBase< GraphObjectPtr, isReverse > &other) const
GraphIteratorBase(GraphIteratorBase< GraphObjectPtr, isArgReverse > &it)
GraphIteratorBase< GraphObjectPtr, isReverse > & operator--()
Decrement operator (prefix).
GraphIteratorBase(GraphObjectPtr ptr)
#define OGDF_ASSERT(expr)
Assert condition expr. See doc/build.md for more information.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.