#include <ogdf/basic/internal/graph_iterators.h>
Public Types | |
| using | array_pointer_type = typename std::conditional< isConst, const ArrayType *, ArrayType * >::type |
| Type of the array. More... | |
| using | key_type = typename ArrayType::key_type |
| Index type of the associated array. More... | |
| using | value_type = typename std::conditional< isConst, const typename ArrayType::value_type, typename ArrayType::value_type >::type |
| Value type of the associated array. More... | |
Public Member Functions | |
| GraphArrayIteratorBase () | |
| Constructor. More... | |
| GraphArrayIteratorBase (key_type key, array_pointer_type a) | |
| Constructor. More... | |
| template<bool isArgConst, typename std::enable_if< isConst||!isArgConst, int >::type = 0> | |
| GraphArrayIteratorBase (const GraphArrayIteratorBase< ArrayType, isArgConst > &iter) | |
| Constructor. More... | |
| key_type | key () const |
| Index in m_array. More... | |
| bool | operator!= (const GraphArrayIteratorBase< ArrayType, isConst > &iter) const |
| Inequality operator. More... | |
| value_type & | operator* () const |
| Value of m_array at index m_key. More... | |
| GraphArrayIteratorBase< ArrayType, isConst > & | operator++ () |
| Increment operator (prefix). More... | |
| GraphArrayIteratorBase< ArrayType, isConst > | operator++ (int) |
| Increment operator (postfix). More... | |
| GraphArrayIteratorBase< ArrayType, isConst > & | operator-- () |
| Decrement operator (prefix). More... | |
| GraphArrayIteratorBase< ArrayType, isConst > | operator-- (int) |
| Decrement operator (postfix). More... | |
| GraphArrayIteratorBase< ArrayType, isConst > & | operator= (const GraphArrayIteratorBase< ArrayType, isConst > &iter) |
| Copy assignment operator. More... | |
| bool | operator== (const GraphArrayIteratorBase< ArrayType, isConst > &iter) const |
| Equality operator. More... | |
| value_type & | value () const |
| Value of m_array at index m_key. More... | |
Private Attributes | |
| array_pointer_type | m_array |
| The array. More... | |
| key_type | m_key |
| Index in m_array. More... | |
Friends | |
| class | GraphArrayIteratorBase< ArrayType, true > |
Definition at line 91 of file graph_iterators.h.
| using ogdf::internal::GraphArrayIteratorBase< ArrayType, isConst >::array_pointer_type = typename std::conditional<isConst, const ArrayType*, ArrayType*>::type |
Type of the array.
Definition at line 104 of file graph_iterators.h.
| using ogdf::internal::GraphArrayIteratorBase< ArrayType, isConst >::key_type = typename ArrayType::key_type |
Index type of the associated array.
Definition at line 100 of file graph_iterators.h.
| using ogdf::internal::GraphArrayIteratorBase< ArrayType, isConst >::value_type = typename std::conditional<isConst, const typename ArrayType::value_type, typename ArrayType::value_type>::type |
Value type of the associated array.
Definition at line 102 of file graph_iterators.h.
|
inline |
Constructor.
Definition at line 107 of file graph_iterators.h.
|
inline |
Constructor.
Definition at line 111 of file graph_iterators.h.
|
inline |
Constructor.
Definition at line 116 of file graph_iterators.h.
|
inline |
Index in m_array.
Definition at line 127 of file graph_iterators.h.
|
inline |
Inequality operator.
Definition at line 141 of file graph_iterators.h.
|
inline |
Value of m_array at index m_key.
Definition at line 133 of file graph_iterators.h.
|
inline |
Increment operator (prefix).
Definition at line 146 of file graph_iterators.h.
|
inline |
Increment operator (postfix).
Definition at line 153 of file graph_iterators.h.
|
inline |
Decrement operator (prefix).
Definition at line 160 of file graph_iterators.h.
|
inline |
Decrement operator (postfix).
Definition at line 167 of file graph_iterators.h.
|
inline |
Copy assignment operator.
Definition at line 120 of file graph_iterators.h.
|
inline |
Equality operator.
Definition at line 136 of file graph_iterators.h.
|
inline |
Value of m_array at index m_key.
Definition at line 130 of file graph_iterators.h.
|
friend |
Definition at line 96 of file graph_iterators.h.
|
private |
The array.
Definition at line 175 of file graph_iterators.h.
|
private |
Index in m_array.
Definition at line 174 of file graph_iterators.h.