Open
Graph Drawing
Framework

 v.2010.10
 

Public Member Functions | Public Attributes | Private Attributes

ogdf::ClusterArrayBase Class Reference

Abstract base class for cluster arrays. More...

#include <ogdf/cluster/ClusterArray.h>

Inheritance diagram for ogdf::ClusterArrayBase:
ogdf::ClusterArray< T >

List of all members.

Public Member Functions

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

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


Constructor & Destructor Documentation

ogdf::ClusterArrayBase::ClusterArrayBase (  )  [inline]

Initializes a cluster array not associated with a cluster graph.

Definition at line 87 of file ClusterArray.h.

ogdf::ClusterArrayBase::ClusterArrayBase ( const ClusterGraph pC  )  [inline]

Initializes a cluster array associated with pC.

Definition at line 89 of file ClusterArray.h.

virtual ogdf::ClusterArrayBase::~ClusterArrayBase (  )  [inline, virtual]

Definition at line 94 of file ClusterArray.h.


Member Function Documentation

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

Associates the array with a new cluster graph.

Definition at line 107 of file ClusterArray.h.


Member Data Documentation

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

Definition at line 81 of file ClusterArray.h.

The associated cluster graph.

Definition at line 84 of file ClusterArray.h.


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