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 304 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 951 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 960 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 965 of file ClusterGraph.h.


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