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 (const Graph *pG) | |
| Initializes an adjacency entry array associated with pG. | |
| virtual | ~AdjEntryArrayBase () |
| 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 graph. | |
| virtual void | resetIndex (int newIndex, int oldIndex)=0 |
| Virtual function called when the index of an adjacency entry is changed. | |
| void | reregister (const Graph *pG) |
| Associates the array with a new graph. | |
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 72 of file AdjEntryArray.h.
| ogdf::AdjEntryArrayBase::AdjEntryArrayBase | ( | ) | [inline] |
Initializes an adjacency entry array not associated with a graph.
Definition at line 83 of file AdjEntryArray.h.
| ogdf::AdjEntryArrayBase::AdjEntryArrayBase | ( | const Graph * | pG | ) | [inline] |
Initializes an adjacency entry array associated with pG.
Definition at line 85 of file AdjEntryArray.h.
| virtual ogdf::AdjEntryArrayBase::~AdjEntryArrayBase | ( | ) | [inline, virtual] |
Definition at line 90 of file AdjEntryArray.h.
| virtual void ogdf::AdjEntryArrayBase::disconnect | ( | ) | [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 >, and ogdf::AdjEntryArray< edge >.
| virtual void ogdf::AdjEntryArrayBase::enlargeTable | ( | int | newTableSize | ) | [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 >, and ogdf::AdjEntryArray< edge >.
| virtual void ogdf::AdjEntryArrayBase::reinit | ( | int | initTableSize | ) | [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 >, and ogdf::AdjEntryArray< edge >.
| void ogdf::AdjEntryArrayBase::reregister | ( | const Graph * | pG | ) | [inline] |
Associates the array with a new graph.
Definition at line 105 of file AdjEntryArray.h.
| virtual void ogdf::AdjEntryArrayBase::resetIndex | ( | int | newIndex, | |
| int | oldIndex | |||
| ) | [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 >, and ogdf::AdjEntryArray< edge >.
Pointer to list element in the list of all registered adjacency entry arrays which references this array.
Definition at line 77 of file AdjEntryArray.h.
The associated graph.
Definition at line 80 of file AdjEntryArray.h.