Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
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.
 
- Public Member Functions inherited from ogdf::RegisteredArray< Registry, Value, WithDefault, Base >
 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.
 

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 385 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 386 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 392 of file Hypergraph.h.


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