Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
ogdf::ClusterArrayBase Class Referenceabstract

Abstract base class for cluster arrays. More...

#include <ogdf/cluster/ClusterArray.h>

+ Inheritance diagram for ogdf::ClusterArrayBase:

Public Member Functions

 ClusterArrayBase ()
 Initializes a cluster array not associated with a cluster graph.
 
 ClusterArrayBase (ClusterArrayBase &base)
 Moves cluster array base to this cluster array.
 
 ClusterArrayBase (const ClusterGraph *pC)
 Initializes a cluster array associated with pC.
 
virtual ~ClusterArrayBase ()
 
virtual void disconnect ()=0
 Virtual function called when array is disconnected from the cluster graph.
 
virtual void enlargeTable (int newTableSize)=0
 Virtual function called when table size has to be enlarged.
 
void moveRegister (ClusterArrayBase &base)
 Moves array registration from base to this array.
 
virtual void reinit (int initTableSize)=0
 Virtual function called when table has to be reinitialized.
 
void reregister (const ClusterGraph *pC)
 Associates the array with a new cluster graph.
 

Public Attributes

const ClusterGraphm_pClusterGraph
 The associated cluster graph.
 

Private Attributes

ListIterator< ClusterArrayBase * > m_it
 Pointer to list element in the list of all registered cluster arrays which references this array.
 

Detailed Description

Abstract base class for cluster arrays.

Defines the interface for event handling used by the ClusterGraph class. Use the paramiterized class ClusterArray for creating edge arrays.

Definition at line 46 of file ClusterArray.h.

Constructor & Destructor Documentation

◆ ClusterArrayBase() [1/3]

ogdf::ClusterArrayBase::ClusterArrayBase ( )
inline

Initializes a cluster array not associated with a cluster graph.

Definition at line 57 of file ClusterArray.h.

◆ ClusterArrayBase() [2/3]

ogdf::ClusterArrayBase::ClusterArrayBase ( const ClusterGraph pC)
inlineexplicit

Initializes a cluster array associated with pC.

Definition at line 60 of file ClusterArray.h.

◆ ClusterArrayBase() [3/3]

ogdf::ClusterArrayBase::ClusterArrayBase ( ClusterArrayBase base)
inline

Moves cluster array base to this cluster array.

Definition at line 67 of file ClusterArray.h.

◆ ~ClusterArrayBase()

virtual ogdf::ClusterArrayBase::~ClusterArrayBase ( )
inlinevirtual

Definition at line 77 of file ClusterArray.h.

Member Function Documentation

◆ disconnect()

◆ enlargeTable()

◆ moveRegister()

void ogdf::ClusterArrayBase::moveRegister ( ClusterArrayBase base)
inline

Moves array registration from base to this array.

Definition at line 102 of file ClusterArray.h.

◆ reinit()

◆ reregister()

void ogdf::ClusterArrayBase::reregister ( const ClusterGraph pC)
inline

Associates the array with a new cluster graph.

Definition at line 92 of file ClusterArray.h.

Member Data Documentation

◆ m_it

ListIterator<ClusterArrayBase*> ogdf::ClusterArrayBase::m_it
private

Pointer to list element in the list of all registered cluster arrays which references this array.

Definition at line 51 of file ClusterArray.h.

◆ m_pClusterGraph

const ClusterGraph* ogdf::ClusterArrayBase::m_pClusterGraph

The associated cluster graph.

Definition at line 54 of file ClusterArray.h.


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