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 (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 ClusterGraph * | m_pClusterGraph |
| The associated cluster graph. | |
Private Attributes | |
| ListIterator< ClusterArrayBase * > | m_it |
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.
| 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.
| virtual void ogdf::ClusterArrayBase::disconnect | ( | ) | [pure virtual] |
Virtual function called when array is disconnected from the cluster graph.
Implemented in ogdf::ClusterArray< T >, ogdf::ClusterArray< NodeArray< bool > * >, ogdf::ClusterArray< node >, ogdf::ClusterArray< EdgeArray< Stack< edge > * > * >, ogdf::ClusterArray< EmbedPQTree * >, ogdf::ClusterArray< LHTreeNode * >, ogdf::ClusterArray< ClusterPQContainer >, ogdf::ClusterArray< int >, ogdf::ClusterArray< Graph * >, ogdf::ClusterArray< NodeArray< SListPure< adjEntry > > * >, ogdf::ClusterArray< String >, ogdf::ClusterArray< ListIterator< cluster > >, ogdf::ClusterArray< cluster >, ogdf::ClusterArray< NodeArray< cluster > * >, ogdf::ClusterArray< ClusterArray< cluster > * >, ogdf::ClusterArray< PlanarPQTree * >, ogdf::ClusterArray< bool >, ogdf::ClusterArray< ClusterGraph * >, and ogdf::ClusterArray< NodeArray< node > * >.
| virtual void ogdf::ClusterArrayBase::enlargeTable | ( | int | newTableSize | ) | [pure virtual] |
Virtual function called when table size has to be enlarged.
Implemented in ogdf::ClusterArray< T >, ogdf::ClusterArray< NodeArray< bool > * >, ogdf::ClusterArray< node >, ogdf::ClusterArray< EdgeArray< Stack< edge > * > * >, ogdf::ClusterArray< EmbedPQTree * >, ogdf::ClusterArray< LHTreeNode * >, ogdf::ClusterArray< ClusterPQContainer >, ogdf::ClusterArray< int >, ogdf::ClusterArray< Graph * >, ogdf::ClusterArray< NodeArray< SListPure< adjEntry > > * >, ogdf::ClusterArray< String >, ogdf::ClusterArray< ListIterator< cluster > >, ogdf::ClusterArray< cluster >, ogdf::ClusterArray< NodeArray< cluster > * >, ogdf::ClusterArray< ClusterArray< cluster > * >, ogdf::ClusterArray< PlanarPQTree * >, ogdf::ClusterArray< bool >, ogdf::ClusterArray< ClusterGraph * >, and ogdf::ClusterArray< NodeArray< node > * >.
| virtual void ogdf::ClusterArrayBase::reinit | ( | int | initTableSize | ) | [pure virtual] |
Virtual function called when table has to be reinitialized.
Implemented in ogdf::ClusterArray< T >, ogdf::ClusterArray< NodeArray< bool > * >, ogdf::ClusterArray< node >, ogdf::ClusterArray< EdgeArray< Stack< edge > * > * >, ogdf::ClusterArray< EmbedPQTree * >, ogdf::ClusterArray< LHTreeNode * >, ogdf::ClusterArray< ClusterPQContainer >, ogdf::ClusterArray< int >, ogdf::ClusterArray< Graph * >, ogdf::ClusterArray< NodeArray< SListPure< adjEntry > > * >, ogdf::ClusterArray< String >, ogdf::ClusterArray< ListIterator< cluster > >, ogdf::ClusterArray< cluster >, ogdf::ClusterArray< NodeArray< cluster > * >, ogdf::ClusterArray< ClusterArray< cluster > * >, ogdf::ClusterArray< PlanarPQTree * >, ogdf::ClusterArray< bool >, ogdf::ClusterArray< ClusterGraph * >, and ogdf::ClusterArray< NodeArray< node > * >.
| void ogdf::ClusterArrayBase::reregister | ( | const ClusterGraph * | pC | ) | [inline] |
Associates the array with a new cluster graph.
Definition at line 107 of file ClusterArray.h.
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 81 of file ClusterArray.h.
The associated cluster graph.
Definition at line 84 of file ClusterArray.h.