lemon/concept/graph_component.h
changeset 1999 2ff283124dfc
parent 1993 2115143eceea
child 2111 ea1fa1bc3f6d
     1.1 --- a/lemon/concept/graph_component.h	Mon Mar 06 09:38:19 2006 +0000
     1.2 +++ b/lemon/concept/graph_component.h	Mon Mar 06 10:28:37 2006 +0000
     1.3 @@ -737,13 +737,15 @@
     1.4      /// This is an observer-notifier pattern. More Obsevers can
     1.5      /// be registered into the notifier and whenever an alteration
     1.6      /// occured in the graph all the observers will notified about it.
     1.7 -    class AlterableGraphComponent : virtual public BaseGraphComponent {
     1.8 +    class AlterableGraphComponent : virtual public BaseIterableGraphComponent {
     1.9      public:
    1.10  
    1.11        /// The edge observer registry.
    1.12 -      typedef AlterationNotifier<Edge> EdgeNotifier;
    1.13 +      typedef AlterationNotifier<AlterableGraphComponent, Edge> 
    1.14 +      EdgeNotifier;
    1.15        /// The node observer registry.
    1.16 -      typedef AlterationNotifier<Node> NodeNotifier;
    1.17 +      typedef AlterationNotifier<AlterableGraphComponent, Node> 
    1.18 +      NodeNotifier;
    1.19        
    1.20        /// \brief Gives back the edge alteration notifier.
    1.21        ///