Abstract base class for adjacency entry arrays. More...
#include <ogdf/basic/AdjEntryArray.h>
Inheritance diagram for ogdf::AdjEntryArrayBase:Public Member Functions | |
| AdjEntryArrayBase () | |
| Initializes an adjacency entry array not associated with a graph. | |
| AdjEntryArrayBase (const Graph *pG) | |
| Initializes an adjacency entry array associated with pG. | |
| virtual | ~AdjEntryArrayBase () |
| 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. | |
| 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 |
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 63 of file AdjEntryArray.h.
|
inline |
Initializes an adjacency entry array not associated with a graph.
Definition at line 74 of file AdjEntryArray.h.
|
inline |
Initializes an adjacency entry array associated with pG.
Definition at line 76 of file AdjEntryArray.h.
|
inlinevirtual |
Definition at line 81 of file AdjEntryArray.h.
|
pure virtual |
Virtual function called when array is disconnected from the graph.
Implemented in ogdf::AdjEntryArray< T >, ogdf::AdjEntryArray< bend_type >, ogdf::AdjEntryArray< node >, ogdf::AdjEntryArray< int >, ogdf::AdjEntryArray< bool >, ogdf::AdjEntryArray< OrthoDir >, ogdf::AdjEntryArray< BendString >, ogdf::AdjEntryArray< face >, ogdf::AdjEntryArray< edge >, and ogdf::AdjEntryArray< adjEntry >.
|
pure virtual |
Virtual function called when table size has to be enlarged.
Implemented in ogdf::AdjEntryArray< T >, ogdf::AdjEntryArray< bend_type >, ogdf::AdjEntryArray< node >, ogdf::AdjEntryArray< int >, ogdf::AdjEntryArray< bool >, ogdf::AdjEntryArray< OrthoDir >, ogdf::AdjEntryArray< BendString >, ogdf::AdjEntryArray< face >, ogdf::AdjEntryArray< edge >, and ogdf::AdjEntryArray< adjEntry >.
|
pure virtual |
Virtual function called when table has to be reinitialized.
Implemented in ogdf::AdjEntryArray< T >, ogdf::AdjEntryArray< bend_type >, ogdf::AdjEntryArray< node >, ogdf::AdjEntryArray< int >, ogdf::AdjEntryArray< bool >, ogdf::AdjEntryArray< OrthoDir >, ogdf::AdjEntryArray< BendString >, ogdf::AdjEntryArray< face >, ogdf::AdjEntryArray< edge >, and ogdf::AdjEntryArray< adjEntry >.
|
inline |
Associates the array with a new graph.
Definition at line 96 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< bend_type >, ogdf::AdjEntryArray< node >, ogdf::AdjEntryArray< int >, ogdf::AdjEntryArray< bool >, ogdf::AdjEntryArray< OrthoDir >, ogdf::AdjEntryArray< BendString >, ogdf::AdjEntryArray< face >, ogdf::AdjEntryArray< edge >, and ogdf::AdjEntryArray< adjEntry >.
|
private |
Pointer to list element in the list of all registered adjacency entry arrays which references this array.
Definition at line 68 of file AdjEntryArray.h.
| const Graph* ogdf::AdjEntryArrayBase::m_pGraph |
The associated graph.
Definition at line 71 of file AdjEntryArray.h.