Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::ClusterArrayBase< Value, WithDefault > Class Template Reference

RegisteredArray for labeling the clusters of a ClusterGraph. More...

#include <ogdf/cluster/ClusterGraph.h>

Public Member Functions

 ClusterArrayBase ()=default
 Default Constructor. More...
 
 ClusterArrayBase (const ClusterGraph &C, const Value &def, int size)
 Creates a new cluster array with initial capacity size. More...
 
ClusterGraphgraphOf () const
 Returns a pointer to the associated cluster graph. More...
 

Private Types

using RA = RegisteredArray< ClusterGraph, Value, WithDefault >
 

Detailed Description

template<class Value, bool WithDefault>
class ogdf::ClusterArrayBase< Value, WithDefault >

RegisteredArray for labeling the clusters of a ClusterGraph.

Definition at line 311 of file ClusterGraph.h.

Member Typedef Documentation

◆ RA

template<class Value , bool WithDefault>
using ogdf::ClusterArrayBase< Value, WithDefault >::RA = RegisteredArray<ClusterGraph, Value, WithDefault>
private

Definition at line 958 of file ClusterGraph.h.

Constructor & Destructor Documentation

◆ ClusterArrayBase() [1/2]

template<class Value , bool WithDefault>
ogdf::ClusterArrayBase< Value, WithDefault >::ClusterArrayBase ( )
default

Default Constructor.

◆ ClusterArrayBase() [2/2]

template<class Value , bool WithDefault>
ogdf::ClusterArrayBase< Value, WithDefault >::ClusterArrayBase ( const ClusterGraph C,
const Value &  def,
int  size 
)
inline

Creates a new cluster array with initial capacity size.

Definition at line 967 of file ClusterGraph.h.

Member Function Documentation

◆ graphOf()

template<class Value , bool WithDefault>
ClusterGraph* ogdf::ClusterArrayBase< Value, WithDefault >::graphOf ( ) const
inline

Returns a pointer to the associated cluster graph.

Definition at line 972 of file ClusterGraph.h.


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