Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

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

Public Attributes

const ClusterGraphm_pClusterGraph
 The associated cluster graph. More...
 

Private Attributes

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

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 47 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 58 of file ClusterArray.h.

◆ ClusterArrayBase() [2/3]

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

Initializes a cluster array associated with pC.

Definition at line 61 of file ClusterArray.h.

◆ ClusterArrayBase() [3/3]

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

Moves cluster array base to this cluster array.

Definition at line 66 of file ClusterArray.h.

◆ ~ClusterArrayBase()

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

Definition at line 73 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 92 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 86 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 52 of file ClusterArray.h.

◆ m_pClusterGraph

const ClusterGraph* ogdf::ClusterArrayBase::m_pClusterGraph

The associated cluster graph.

Definition at line 55 of file ClusterArray.h.


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