Abstract base class for cluster arrays. More...
#include <ogdf/cluster/ClusterArray.h>
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 ClusterGraph * | m_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. | |
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.
|
inline |
Initializes a cluster array not associated with a cluster graph.
Definition at line 57 of file ClusterArray.h.
|
inlineexplicit |
Initializes a cluster array associated with pC
.
Definition at line 60 of file ClusterArray.h.
|
inline |
Moves cluster array base
to this cluster array.
Definition at line 67 of file ClusterArray.h.
|
inlinevirtual |
Definition at line 77 of file ClusterArray.h.
Virtual function called when array is disconnected from the cluster graph.
Implemented in ogdf::ClusterArray< bool >, ogdf::ClusterArray< double >, ogdf::ClusterArray< int >, ogdf::ClusterArray< ogdf::booth_lueker::EmbedPQTree * >, ogdf::ClusterArray< ogdf::booth_lueker::PlanarPQTree * >, ogdf::ClusterArray< ogdf::cluster_planarity::ClusterPQContainer >, ogdf::ClusterArray< ogdf::ClusterArray< ogdf::ClusterElement > * >, ogdf::ClusterArray< ogdf::ClusterElement >, ogdf::ClusterArray< ogdf::ClusterGraph * >, ogdf::ClusterArray< ogdf::EdgeArray< ogdf::ArrayBuffer< ogdf::EdgeElement > * > * >, ogdf::ClusterArray< ogdf::Fill >, ogdf::ClusterArray< ogdf::Graph * >, ogdf::ClusterArray< ogdf::LHTreeNode * >, ogdf::ClusterArray< ogdf::List< ogdf::EdgeElement > >, ogdf::ClusterArray< ogdf::List< ogdf::NodeElement > >, ogdf::ClusterArray< ogdf::ListIteratorBase< ogdf::ClusterElement > >, ogdf::ClusterArray< ogdf::NodeArray< bool > * >, ogdf::ClusterArray< ogdf::NodeArray< ogdf::ClusterElement > * >, ogdf::ClusterArray< ogdf::NodeArray< ogdf::NodeElement > * >, ogdf::ClusterArray< ogdf::NodeArray< ogdf::SListPure< ogdf::AdjElement > > * >, ogdf::ClusterArray< ogdf::NodeElement >, ogdf::ClusterArray< ogdf::Stroke >, ogdf::ClusterArray< string >, and ogdf::ClusterArray< T >.
Virtual function called when table size has to be enlarged.
Implemented in ogdf::ClusterArray< bool >, ogdf::ClusterArray< double >, ogdf::ClusterArray< int >, ogdf::ClusterArray< ogdf::booth_lueker::EmbedPQTree * >, ogdf::ClusterArray< ogdf::booth_lueker::PlanarPQTree * >, ogdf::ClusterArray< ogdf::cluster_planarity::ClusterPQContainer >, ogdf::ClusterArray< ogdf::ClusterArray< ogdf::ClusterElement > * >, ogdf::ClusterArray< ogdf::ClusterElement >, ogdf::ClusterArray< ogdf::ClusterGraph * >, ogdf::ClusterArray< ogdf::EdgeArray< ogdf::ArrayBuffer< ogdf::EdgeElement > * > * >, ogdf::ClusterArray< ogdf::Fill >, ogdf::ClusterArray< ogdf::Graph * >, ogdf::ClusterArray< ogdf::LHTreeNode * >, ogdf::ClusterArray< ogdf::List< ogdf::EdgeElement > >, ogdf::ClusterArray< ogdf::List< ogdf::NodeElement > >, ogdf::ClusterArray< ogdf::ListIteratorBase< ogdf::ClusterElement > >, ogdf::ClusterArray< ogdf::NodeArray< bool > * >, ogdf::ClusterArray< ogdf::NodeArray< ogdf::ClusterElement > * >, ogdf::ClusterArray< ogdf::NodeArray< ogdf::NodeElement > * >, ogdf::ClusterArray< ogdf::NodeArray< ogdf::SListPure< ogdf::AdjElement > > * >, ogdf::ClusterArray< ogdf::NodeElement >, ogdf::ClusterArray< ogdf::Stroke >, ogdf::ClusterArray< string >, and ogdf::ClusterArray< T >.
|
inline |
Moves array registration from base
to this array.
Definition at line 102 of file ClusterArray.h.
Virtual function called when table has to be reinitialized.
Implemented in ogdf::ClusterArray< bool >, ogdf::ClusterArray< double >, ogdf::ClusterArray< int >, ogdf::ClusterArray< ogdf::booth_lueker::EmbedPQTree * >, ogdf::ClusterArray< ogdf::booth_lueker::PlanarPQTree * >, ogdf::ClusterArray< ogdf::cluster_planarity::ClusterPQContainer >, ogdf::ClusterArray< ogdf::ClusterArray< ogdf::ClusterElement > * >, ogdf::ClusterArray< ogdf::ClusterElement >, ogdf::ClusterArray< ogdf::ClusterGraph * >, ogdf::ClusterArray< ogdf::EdgeArray< ogdf::ArrayBuffer< ogdf::EdgeElement > * > * >, ogdf::ClusterArray< ogdf::Fill >, ogdf::ClusterArray< ogdf::Graph * >, ogdf::ClusterArray< ogdf::LHTreeNode * >, ogdf::ClusterArray< ogdf::List< ogdf::EdgeElement > >, ogdf::ClusterArray< ogdf::List< ogdf::NodeElement > >, ogdf::ClusterArray< ogdf::ListIteratorBase< ogdf::ClusterElement > >, ogdf::ClusterArray< ogdf::NodeArray< bool > * >, ogdf::ClusterArray< ogdf::NodeArray< ogdf::ClusterElement > * >, ogdf::ClusterArray< ogdf::NodeArray< ogdf::NodeElement > * >, ogdf::ClusterArray< ogdf::NodeArray< ogdf::SListPure< ogdf::AdjElement > > * >, ogdf::ClusterArray< ogdf::NodeElement >, ogdf::ClusterArray< ogdf::Stroke >, ogdf::ClusterArray< string >, and ogdf::ClusterArray< T >.
|
inline |
Associates the array with a new cluster graph.
Definition at line 92 of file ClusterArray.h.
|
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.
const ClusterGraph* ogdf::ClusterArrayBase::m_pClusterGraph |
The associated cluster graph.
Definition at line 54 of file ClusterArray.h.