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. | |
| HypergraphArrayBase (const Hypergraph *pH) | |
Initializes an array associated with pH. | |
| virtual | ~HypergraphArrayBase () |
| Destructor, unregisters the array. | |
| virtual void | disconnect ()=0 |
| Disconnetion from the hypergraph. | |
| virtual void | enlargeTable (int newTableSize)=0 |
| Table size enlargement. | |
| const Hypergraph * | hypergraphOf () const |
| Returns a pointer to the associated hypergraph. | |
| virtual void | reinit (int initTableSize)=0 |
| Table re-initialization. | |
| virtual void | reregister (const Hypergraph *H)=0 |
| Associates the array with a new hypergraph. | |
Public Attributes | |
| const Hypergraph * | m_hypergraph |
| The associated hypergraph. | |
| ListIterator< HypergraphArrayBase * > | m_it |
| Pointer to list element in the list of all registered hypergraph arrays which references this array. | |
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 53 of file HypergraphArray.h.
|
inlineexplicit |
Initializes an array associated with pH.
Definition at line 56 of file HypergraphArray.h.
|
inlinevirtual |
Destructor, unregisters the array.
Definition at line 59 of file HypergraphArray.h.
Disconnetion from the hypergraph.
Implemented in ogdf::HypernodeArray< double >, ogdf::HypernodeArray< int >, ogdf::HypernodeArray< ogdf::NodeElement >, ogdf::HypernodeArray< string >, ogdf::HypernodeArray< T >, ogdf::HyperedgeArray< ogdf::List< ogdf::EdgeElement > >, and ogdf::HyperedgeArray< T >.
|
inline |
Returns a pointer to the associated hypergraph.
Definition at line 62 of file HypergraphArray.h.
|
pure virtual |
Associates the array with a new hypergraph.
Implemented in ogdf::HypernodeArray< double >, ogdf::HypernodeArray< int >, ogdf::HypernodeArray< ogdf::NodeElement >, ogdf::HypernodeArray< string >, ogdf::HypernodeArray< T >, ogdf::HyperedgeArray< ogdf::List< ogdf::EdgeElement > >, and ogdf::HyperedgeArray< T >.
| const Hypergraph* ogdf::HypergraphArrayBase::m_hypergraph |
The associated hypergraph.
Definition at line 50 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 47 of file HypergraphArray.h.