lemon/concept/graph_component.h
changeset 1999 2ff283124dfc
parent 1993 2115143eceea
child 2111 ea1fa1bc3f6d
equal deleted inserted replaced
11:6aa934814fb3 12:3b384694dd48
   735     /// This class provides beside the core graph features
   735     /// This class provides beside the core graph features
   736     /// alteration notifier interface for the graph structure.
   736     /// alteration notifier interface for the graph structure.
   737     /// This is an observer-notifier pattern. More Obsevers can
   737     /// This is an observer-notifier pattern. More Obsevers can
   738     /// be registered into the notifier and whenever an alteration
   738     /// be registered into the notifier and whenever an alteration
   739     /// occured in the graph all the observers will notified about it.
   739     /// occured in the graph all the observers will notified about it.
   740     class AlterableGraphComponent : virtual public BaseGraphComponent {
   740     class AlterableGraphComponent : virtual public BaseIterableGraphComponent {
   741     public:
   741     public:
   742 
   742 
   743       /// The edge observer registry.
   743       /// The edge observer registry.
   744       typedef AlterationNotifier<Edge> EdgeNotifier;
   744       typedef AlterationNotifier<AlterableGraphComponent, Edge> 
       
   745       EdgeNotifier;
   745       /// The node observer registry.
   746       /// The node observer registry.
   746       typedef AlterationNotifier<Node> NodeNotifier;
   747       typedef AlterationNotifier<AlterableGraphComponent, Node> 
       
   748       NodeNotifier;
   747       
   749       
   748       /// \brief Gives back the edge alteration notifier.
   750       /// \brief Gives back the edge alteration notifier.
   749       ///
   751       ///
   750       /// Gives back the edge alteration notifier.
   752       /// Gives back the edge alteration notifier.
   751       EdgeNotifier getNotifier(Edge) const {
   753       EdgeNotifier getNotifier(Edge) const {