Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::internal::GraphRegisteredArray< Key, Value, WithDefault, Registry > Class Template Reference

RegisteredArray for nodes, edges and adjEntries of a graph. More...

#include <ogdf/basic/Graph_d.h>

+ Inheritance diagram for ogdf::internal::GraphRegisteredArray< Key, Value, WithDefault, Registry >:

Public Member Functions

GraphgraphOf () const
 Returns a pointer to the associated graph. More...
 
- Public Member Functions inherited from ogdf::RegisteredArray< GraphRegistry< Key >, 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...
 

Private Types

using RA = RegisteredArray< Registry, Value, WithDefault, Graph >
 

Detailed Description

template<typename Key, typename Value, bool WithDefault, typename Registry = GraphRegistry<Key>>
class ogdf::internal::GraphRegisteredArray< Key, Value, WithDefault, Registry >

RegisteredArray for nodes, edges and adjEntries of a graph.

Definition at line 651 of file Graph_d.h.

Member Typedef Documentation

◆ RA

template<typename Key , typename Value , bool WithDefault, typename Registry = GraphRegistry<Key>>
using ogdf::internal::GraphRegisteredArray< Key, Value, WithDefault, Registry >::RA = RegisteredArray<Registry, Value, WithDefault, Graph>
private

Definition at line 652 of file Graph_d.h.

Member Function Documentation

◆ graphOf()

template<typename Key , typename Value , bool WithDefault, typename Registry = GraphRegistry<Key>>
Graph* ogdf::internal::GraphRegisteredArray< Key, Value, WithDefault, Registry >::graphOf ( ) const
inline

Returns a pointer to the associated graph.

Definition at line 658 of file Graph_d.h.


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