Abstract base class for adjacency entry arrays. More...
#include <ogdf/basic/AdjEntryArray.h>
Public Member Functions | |
AdjEntryArrayBase () | |
Initializes an adjacency entry array not associated with a graph. More... | |
AdjEntryArrayBase (AdjEntryArrayBase &base) | |
Moves adjacency entry array base to this adjacency entry array. More... | |
AdjEntryArrayBase (const Graph *pG) | |
Initializes an adjacency entry array associated with pG . More... | |
virtual | ~AdjEntryArrayBase () |
Destructor, unregisters the array. More... | |
virtual void | disconnect ()=0 |
Virtual function called when array is disconnected from the graph. More... | |
virtual void | enlargeTable (int newTableSize)=0 |
Virtual function called when table size has to be enlarged. More... | |
void | moveRegister (AdjEntryArrayBase &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 Graph *pG) |
Associates the array with a new graph. More... | |
virtual void | resetIndex (int newIndex, int oldIndex)=0 |
Virtual function called when the index of an adjacency entry is changed. More... | |
Public Attributes | |
const Graph * | m_pGraph |
The associated graph. More... | |
Private Attributes | |
ListIterator< AdjEntryArrayBase * > | m_it |
Pointer to list element in the list of all registered adjacency entry arrays which references this array. More... | |
Abstract base class for adjacency entry arrays.
Defines the interface for event handling used by the Graph class. Use the parameterized class AdjEntryArray for creating adjacency arrays.
Definition at line 45 of file AdjEntryArray.h.
|
inline |
Initializes an adjacency entry array not associated with a graph.
Definition at line 56 of file AdjEntryArray.h.
|
inlineexplicit |
Initializes an adjacency entry array associated with pG
.
Definition at line 59 of file AdjEntryArray.h.
|
inline |
Moves adjacency entry array base
to this adjacency entry array.
Definition at line 64 of file AdjEntryArray.h.
|
inlinevirtual |
Destructor, unregisters the array.
Definition at line 71 of file AdjEntryArray.h.
|
pure virtual |
Virtual function called when array is disconnected from the graph.
Implemented in ogdf::AdjEntryArray< T >, ogdf::AdjEntryArray< ogdf::FaceElement >, ogdf::AdjEntryArray< int >, ogdf::AdjEntryArray< ogdf::ListIteratorBase< ogdf::AdjElement > >, ogdf::AdjEntryArray< ogdf::NodeElement >, ogdf::AdjEntryArray< ogdf::BendString >, ogdf::AdjEntryArray< OrthoDir >, ogdf::AdjEntryArray< BendType >, ogdf::AdjEntryArray< bool >, ogdf::AdjEntryArray< ogdf::AdjElement >, ogdf::AdjEntryArray< ogdf::EdgeElement >, and ogdf::AdjEntryArray< ogdf::InOutPoint * >.
|
pure virtual |
Virtual function called when table size has to be enlarged.
Implemented in ogdf::AdjEntryArray< T >, ogdf::AdjEntryArray< ogdf::FaceElement >, ogdf::AdjEntryArray< int >, ogdf::AdjEntryArray< ogdf::ListIteratorBase< ogdf::AdjElement > >, ogdf::AdjEntryArray< ogdf::NodeElement >, ogdf::AdjEntryArray< ogdf::BendString >, ogdf::AdjEntryArray< OrthoDir >, ogdf::AdjEntryArray< BendType >, ogdf::AdjEntryArray< bool >, ogdf::AdjEntryArray< ogdf::AdjElement >, ogdf::AdjEntryArray< ogdf::EdgeElement >, and ogdf::AdjEntryArray< ogdf::InOutPoint * >.
|
inline |
Moves array registration from base
to this array.
Definition at line 92 of file AdjEntryArray.h.
|
pure virtual |
Virtual function called when table has to be reinitialized.
Implemented in ogdf::AdjEntryArray< T >, ogdf::AdjEntryArray< ogdf::FaceElement >, ogdf::AdjEntryArray< int >, ogdf::AdjEntryArray< ogdf::ListIteratorBase< ogdf::AdjElement > >, ogdf::AdjEntryArray< ogdf::NodeElement >, ogdf::AdjEntryArray< ogdf::BendString >, ogdf::AdjEntryArray< OrthoDir >, ogdf::AdjEntryArray< BendType >, ogdf::AdjEntryArray< bool >, ogdf::AdjEntryArray< ogdf::AdjElement >, ogdf::AdjEntryArray< ogdf::EdgeElement >, and ogdf::AdjEntryArray< ogdf::InOutPoint * >.
|
inline |
Associates the array with a new graph.
Definition at line 86 of file AdjEntryArray.h.
|
pure virtual |
Virtual function called when the index of an adjacency entry is changed.
Implemented in ogdf::AdjEntryArray< T >, ogdf::AdjEntryArray< ogdf::FaceElement >, ogdf::AdjEntryArray< int >, ogdf::AdjEntryArray< ogdf::ListIteratorBase< ogdf::AdjElement > >, ogdf::AdjEntryArray< ogdf::NodeElement >, ogdf::AdjEntryArray< ogdf::BendString >, ogdf::AdjEntryArray< OrthoDir >, ogdf::AdjEntryArray< BendType >, ogdf::AdjEntryArray< bool >, ogdf::AdjEntryArray< ogdf::AdjElement >, ogdf::AdjEntryArray< ogdf::EdgeElement >, and ogdf::AdjEntryArray< ogdf::InOutPoint * >.
|
private |
Pointer to list element in the list of all registered adjacency entry arrays which references this array.
Definition at line 50 of file AdjEntryArray.h.
const Graph* ogdf::AdjEntryArrayBase::m_pGraph |
The associated graph.
Definition at line 53 of file AdjEntryArray.h.