64 : m_hypergraph(nullptr)
94 virtual void hypernodeDeleted(
hypernode v) = 0;
97 virtual void hypernodeAdded(
hypernode v) = 0;
100 virtual void hyperedgeDeleted(
hyperedge e) = 0;
103 virtual void hyperedgeAdded(
hyperedge e) = 0;
106 virtual void cleared() = 0;
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
ListIterator< HypergraphObserver * > registerObserver(HypergraphObserver *pObserver) const
Registers a hypergraph observer (e.g. a EdgeStandardRep).
void init(const Hypergraph *pH)
Associates an observer instance with hypergraph pH.
const Hypergraph * hypergraph() const
Returns the observer hypergraph.
const Hypergraph * m_hypergraph
Observed hypergraph.
Class for the representation of hypernodes.
void unregisterObserver(ListIterator< HypergraphObserver *> it) const
Unregisters a hypergraph observer.
Declaration and a partial implementation of a Hypergraph class partly based on the original classes f...
Encapsulates a pointer to a list element.
virtual ~HypergraphObserver()
Destructor.
ListIterator< HypergraphObserver * > m_itObserver
List of all registered hypergraph observers.
Class for the representation of hyperedges.
The namespace for all OGDF objects.
HypergraphObserver()
Constructor.
HypergraphObserver(const Hypergraph *pH)
Constructor assigning pH hypergraph to the observer.
Declaration of doubly linked lists and iterators.