Abstract base class for hypergraph arrays. More...
#include <ogdf/hypergraph/HypergraphArray.h>
Inheritance diagram for ogdf::HypergraphArrayBase:Public Member Functions | |
| HypergraphArrayBase () | |
| Initializes an array not associated with a hypergraph. More... | |
| HypergraphArrayBase (const Hypergraph *pH) | |
Initializes an array associated with pH. More... | |
| virtual | ~HypergraphArrayBase () |
| Destructor, unregisters the array. More... | |
| virtual void | disconnect ()=0 |
| Disconnetion from the hypergraph. More... | |
| virtual void | enlargeTable (int newTableSize)=0 |
| Table size enlargement. More... | |
| const Hypergraph * | hypergraphOf () const |
| Returns a pointer to the associated hypergraph. More... | |
| virtual void | reinit (int initTableSize)=0 |
| Table re-initialization. More... | |
| virtual void | reregister (const Hypergraph *H)=0 |
| Associates the array with a new hypergraph. More... | |
Public Attributes | |
| const Hypergraph * | m_hypergraph |
| The associated hypergraph. More... | |
| ListIterator< HypergraphArrayBase * > | m_it |
| Pointer to list element in the list of all registered hypergraph arrays which references this array. More... | |
Abstract base class for hypergraph arrays.
Definition at line 41 of file HypergraphArray.h.
|
inline |
Initializes an array not associated with a hypergraph.
Definition at line 55 of file HypergraphArray.h.
|
inlineexplicit |
Initializes an array associated with pH.
Definition at line 61 of file HypergraphArray.h.
|
inlinevirtual |
Destructor, unregisters the array.
Definition at line 67 of file HypergraphArray.h.
|
pure virtual |
Disconnetion from the hypergraph.
Implemented in ogdf::HyperedgeArray< T >, ogdf::HyperedgeArray< ogdf::List< ogdf::EdgeElement > >, ogdf::HypernodeArray< T >, ogdf::HypernodeArray< double >, ogdf::HypernodeArray< int >, ogdf::HypernodeArray< ogdf::NodeElement >, and ogdf::HypernodeArray< string >.
|
pure virtual |
|
inline |
Returns a pointer to the associated hypergraph.
Definition at line 72 of file HypergraphArray.h.
|
pure virtual |
|
pure virtual |
Associates the array with a new hypergraph.
Implemented in ogdf::HyperedgeArray< T >, ogdf::HyperedgeArray< ogdf::List< ogdf::EdgeElement > >, ogdf::HypernodeArray< T >, ogdf::HypernodeArray< double >, ogdf::HypernodeArray< int >, ogdf::HypernodeArray< ogdf::NodeElement >, and ogdf::HypernodeArray< string >.
| const Hypergraph* ogdf::HypergraphArrayBase::m_hypergraph |
The associated hypergraph.
Definition at line 52 of file HypergraphArray.h.
| ListIterator<HypergraphArrayBase *> ogdf::HypergraphArrayBase::m_it |
Pointer to list element in the list of all registered hypergraph arrays which references this array.
Definition at line 49 of file HypergraphArray.h.