Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

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

RegisteredArray for nodes and edges of a hypergraph. More...

#include <ogdf/hypergraph/Hypergraph.h>

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

Public Member Functions

HypergraphhypergraphOf () const
 Returns a pointer to the associated hypergraph. More...
 
- Public Member Functions inherited from ogdf::RegisteredArray< HypergraphRegistry< Key >, Value, WithDefault, Hypergraph >
 RegisteredArray ()
 Creates a new registered array associated with no registry. More...
 
 RegisteredArray (const Hypergraph &base)
 Creates a new registered array associated with the matching registry of base. More...
 
 RegisteredArray (const Hypergraph &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 Hypergraph *base)
 Creates a new registered array associated with the matching registry of base. More...
 
 RegisteredArray (const Hypergraph *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 Hypergraph &base)
 Reinitializes the array. Associates the array with the matching registry of base. More...
 
void init (const Hypergraph &base, const Value &new_default)
 Reinitializes the array with default value new_default. More...
 
void init (const Hypergraph *base, const Value &new_default)
 
void init (const Hypergraph *base=nullptr)
 Reinitializes the array. Associates the array with the matching registry of base. More...
 

Private Types

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

Detailed Description

template<typename Key, typename Value, bool WithDefault, typename Registry = HypergraphRegistry<Key>>
class ogdf::HypergraphRegisteredArray< Key, Value, WithDefault, Registry >

RegisteredArray for nodes and edges of a hypergraph.

Definition at line 381 of file Hypergraph.h.

Member Typedef Documentation

◆ RA

template<typename Key , typename Value , bool WithDefault, typename Registry = HypergraphRegistry<Key>>
using ogdf::HypergraphRegisteredArray< Key, Value, WithDefault, Registry >::RA = RegisteredArray<Registry, Value, WithDefault, Hypergraph>
private

Definition at line 382 of file Hypergraph.h.

Member Function Documentation

◆ hypergraphOf()

template<typename Key , typename Value , bool WithDefault, typename Registry = HypergraphRegistry<Key>>
Hypergraph* ogdf::HypergraphRegisteredArray< Key, Value, WithDefault, Registry >::hypergraphOf ( ) const
inline

Returns a pointer to the associated hypergraph.

Definition at line 388 of file Hypergraph.h.


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