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 . More...
|
|
const Value & | operator() (adjEntry adj) const |
| Returns a const reference to the element associated with the edge corresponding to adj . More...
|
|
Value & | operator[] (adjEntry adj) |
| Returns a reference to the element associated with the edge corresponding to adj . More...
|
|
const Value & | operator[] (adjEntry adj) const |
| Returns a const reference to the element associated with the edge corresponding to adj . More...
|
|
Graph * | graphOf () const |
| Returns a pointer to the associated graph. More...
|
|
| RegisteredArray () |
| Creates a new registered array associated with no registry. More...
|
|
| RegisteredArray (const Graph &base) |
| Creates a new registered array associated with the matching registry of base . More...
|
|
| RegisteredArray (const Graph &base, const Value &def) |
| Creates a new registered array associated with the matching registry of base and initializes all values with def . More...
|
|
| RegisteredArray (const Graph *base) |
| Creates a new registered array associated with the matching registry of base . More...
|
|
| RegisteredArray (const Graph *base, const Value &def) |
| Creates a new registered array associated with the matching registry of base and initializes all values with def . More...
|
|
void | init (const Graph &base) |
| Reinitializes the array. Associates the array with the matching registry of base . More...
|
|
void | init (const Graph &base, const Value &new_default) |
| Reinitializes the array with default value new_default . More...
|
|
void | init (const Graph *base, const Value &new_default) |
|
void | init (const Graph *base=nullptr) |
| Reinitializes the array. Associates the array with the matching registry of base . More...
|
|
template<typename Value, bool WithDefault>
class ogdf::internal::EdgeArrayBase1< Value, WithDefault >
RegisteredArray for edges of a graph.
Definition at line 676 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 707 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 700 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 693 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 686 of file Graph_d.h.
The documentation for this class was generated from the following file: