55 OGDF_DEPRECATED(
"calls registrationChanged with only partially-constructed child classes, "
56 "see copy constructor of Observer for fix")
Declaration and a partial implementation of a Hypergraph class partly based on the original classes f...
Simple, safe base classes for C++ observables and observers.
Basic declarations, included by all source files.
Class for the representation of hyperedges.
virtual void hyperedgeDeleted(hyperedge e)=0
Called by an observed hypergraph when a hyperedge is deleted.
virtual void hypernodeDeleted(hypernode v)=0
Called by an observed hypergraph when a hypernode is deleted.
virtual void hyperedgeAdded(hyperedge e)=0
Called by an observed hypergraph when a hyperedge is added.
virtual void cleared()=0
Called by the observed hypergraph when it is cleared.
const Hypergraph * hypergraph() const
Returns the observer hypergraph.
virtual void hypernodeAdded(hypernode v)=0
Called by an observed hypergraph when a hypernode is added.
HypergraphObserver()=default
Constructor.
Class for the representation of hypernodes.
Base class for an observer for a single Observable object.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
#define OGDF_DEPRECATED(reason)
Mark a class / member / function as deprecated.
The namespace for all OGDF objects.