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. | |
AdjEntryArrayBase (AdjEntryArrayBase &base) | |
Moves adjacency entry array base to this adjacency entry array. | |
AdjEntryArrayBase (const Graph *pG) | |
Initializes an adjacency entry array associated with pG . | |
virtual | ~AdjEntryArrayBase () |
Destructor, unregisters the array. | |
virtual void | disconnect ()=0 |
Virtual function called when array is disconnected from the graph. | |
virtual void | enlargeTable (int newTableSize)=0 |
Virtual function called when table size has to be enlarged. | |
void | moveRegister (AdjEntryArrayBase &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 Graph *pG) |
Associates the array with a new graph. | |
virtual void | resetIndex (int newIndex, int oldIndex)=0 |
Virtual function called when the index of an adjacency entry is changed. | |
Public Attributes | |
const Graph * | m_pGraph |
The associated graph. | |
Private Attributes | |
ListIterator< AdjEntryArrayBase * > | m_it |
Pointer to list element in the list of all registered adjacency entry arrays which references this array. | |
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 44 of file AdjEntryArray.h.
|
inline |
Initializes an adjacency entry array not associated with a graph.
Definition at line 55 of file AdjEntryArray.h.
Initializes an adjacency entry array associated with pG
.
Definition at line 58 of file AdjEntryArray.h.
|
inline |
Moves adjacency entry array base
to this adjacency entry array.
Definition at line 65 of file AdjEntryArray.h.
|
inlinevirtual |
Destructor, unregisters the array.
Definition at line 74 of file AdjEntryArray.h.
Virtual function called when array is disconnected from the graph.
Implemented in ogdf::AdjEntryArray< BendType >, ogdf::AdjEntryArray< bool >, ogdf::AdjEntryArray< int >, ogdf::AdjEntryArray< ogdf::AdjElement >, ogdf::AdjEntryArray< ogdf::BendString >, ogdf::AdjEntryArray< ogdf::EdgeElement >, ogdf::AdjEntryArray< ogdf::FaceElement >, ogdf::AdjEntryArray< ogdf::InOutPoint * >, ogdf::AdjEntryArray< ogdf::ListIteratorBase< ogdf::AdjElement > >, ogdf::AdjEntryArray< ogdf::NodeElement >, ogdf::AdjEntryArray< OrthoDir >, and ogdf::AdjEntryArray< T >.
Virtual function called when table size has to be enlarged.
Implemented in ogdf::AdjEntryArray< BendType >, ogdf::AdjEntryArray< bool >, ogdf::AdjEntryArray< int >, ogdf::AdjEntryArray< ogdf::AdjElement >, ogdf::AdjEntryArray< ogdf::BendString >, ogdf::AdjEntryArray< ogdf::EdgeElement >, ogdf::AdjEntryArray< ogdf::FaceElement >, ogdf::AdjEntryArray< ogdf::InOutPoint * >, ogdf::AdjEntryArray< ogdf::ListIteratorBase< ogdf::AdjElement > >, ogdf::AdjEntryArray< ogdf::NodeElement >, ogdf::AdjEntryArray< OrthoDir >, and ogdf::AdjEntryArray< T >.
|
inline |
Moves array registration from base
to this array.
Definition at line 101 of file AdjEntryArray.h.
Virtual function called when table has to be reinitialized.
Implemented in ogdf::AdjEntryArray< BendType >, ogdf::AdjEntryArray< bool >, ogdf::AdjEntryArray< int >, ogdf::AdjEntryArray< ogdf::AdjElement >, ogdf::AdjEntryArray< ogdf::BendString >, ogdf::AdjEntryArray< ogdf::EdgeElement >, ogdf::AdjEntryArray< ogdf::FaceElement >, ogdf::AdjEntryArray< ogdf::InOutPoint * >, ogdf::AdjEntryArray< ogdf::ListIteratorBase< ogdf::AdjElement > >, ogdf::AdjEntryArray< ogdf::NodeElement >, ogdf::AdjEntryArray< OrthoDir >, and ogdf::AdjEntryArray< T >.
Associates the array with a new graph.
Definition at line 91 of file AdjEntryArray.h.
Virtual function called when the index of an adjacency entry is changed.
Implemented in ogdf::AdjEntryArray< BendType >, ogdf::AdjEntryArray< bool >, ogdf::AdjEntryArray< int >, ogdf::AdjEntryArray< ogdf::AdjElement >, ogdf::AdjEntryArray< ogdf::BendString >, ogdf::AdjEntryArray< ogdf::EdgeElement >, ogdf::AdjEntryArray< ogdf::FaceElement >, ogdf::AdjEntryArray< ogdf::InOutPoint * >, ogdf::AdjEntryArray< ogdf::ListIteratorBase< ogdf::AdjElement > >, ogdf::AdjEntryArray< ogdf::NodeElement >, ogdf::AdjEntryArray< OrthoDir >, and ogdf::AdjEntryArray< T >.
|
private |
Pointer to list element in the list of all registered adjacency entry arrays which references this array.
Definition at line 49 of file AdjEntryArray.h.
The associated graph.
Definition at line 52 of file AdjEntryArray.h.