RegisteredArray for edges of a graph.
More...
#include <ogdf/basic/Graph_d.h>
|
| Value & | operator() (adjEntry adj) |
| | Returns a reference to the element associated with the edge corresponding to adj.
|
| |
| const Value & | operator() (adjEntry adj) const |
| | Returns a const reference to the element associated with the edge corresponding to adj.
|
| |
| Value & | operator[] (adjEntry adj) |
| | Returns a reference to the element associated with the edge corresponding to adj.
|
| |
| const Value & | operator[] (adjEntry adj) const |
| | Returns a const reference to the element associated with the edge corresponding to adj.
|
| |
| Graph * | graphOf () const |
| | Returns a pointer to the associated graph.
|
| |
| | RegisteredArray () |
| | Creates a new registered array associated with no registry.
|
| |
| | RegisteredArray (const Base &base) |
| | Creates a new registered array associated with the matching registry of base.
|
| |
| | RegisteredArray (const Base &base, const Value &def) |
| | Creates a new registered array associated with the matching registry of base and initializes all values with def.
|
| |
| | RegisteredArray (const Base *base) |
| | Creates a new registered array associated with the matching registry of base.
|
| |
| | RegisteredArray (const Base *base, const Value &def) |
| | Creates a new registered array associated with the matching registry of base and initializes all values with def.
|
| |
| void | init (const Base &base) |
| | Reinitializes the array. Associates the array with the matching registry of base.
|
| |
| void | init (const Base &base, const Value &new_default) |
| | Reinitializes the array with default value new_default.
|
| |
| void | init (const Base *base, const Value &new_default) |
| |
| void | init (const Base *base=nullptr) |
| | Reinitializes the array. Associates the array with the matching registry of base.
|
| |
template<typename Value, bool WithDefault>
class ogdf::internal::EdgeArrayBase1< Value, WithDefault >
RegisteredArray for edges of a graph.
Definition at line 677 of file Graph_d.h.
◆ GRA
template<typename Value , bool WithDefault>
◆ operator()() [1/2]
template<typename Value , bool WithDefault>
Returns a reference to the element associated with the edge corresponding to adj.
Definition at line 708 of file Graph_d.h.
◆ operator()() [2/2]
template<typename Value , bool WithDefault>
Returns a const reference to the element associated with the edge corresponding to adj.
Definition at line 701 of file Graph_d.h.
◆ operator[]() [1/2]
template<typename Value , bool WithDefault>
Returns a reference to the element associated with the edge corresponding to adj.
Definition at line 694 of file Graph_d.h.
◆ operator[]() [2/2]
template<typename Value , bool WithDefault>
Returns a const reference to the element associated with the edge corresponding to adj.
Definition at line 687 of file Graph_d.h.
The documentation for this class was generated from the following file: