Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::internal::EdgeArrayBase2< Value, WithDefault > Class Template Reference

RegisteredArray for edges of a graph, specialized for EdgeArray<edge>. More...

#include <ogdf/basic/Graph_d.h>

+ Inheritance diagram for ogdf::internal::EdgeArrayBase2< Value, WithDefault >:

Additional Inherited Members

- Public Member Functions inherited from ogdf::internal::EdgeArrayBase1< Value, WithDefault >
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...
 
- Public Member Functions inherited from ogdf::internal::GraphRegisteredArray< EdgeElement, Value, WithDefault >
GraphgraphOf () const
 Returns a pointer to the associated graph. More...
 
- Public Member Functions inherited from ogdf::RegisteredArray< GraphRegistry< EdgeElement >, Value, WithDefault, Graph >
 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...
 

Detailed Description

template<typename Value, bool WithDefault>
class ogdf::internal::EdgeArrayBase2< Value, WithDefault >

RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.

Definition at line 716 of file Graph_d.h.


The documentation for this class was generated from the following file: