lemon/bits/alteration_notifier.h
changeset 201 9757e3d9bfeb
parent 107 31a2e6d28f61
child 209 765619b7cbb2
equal deleted inserted replaced
1:084ee5dbd229 2:75bbb975ba75
    92   /// just a setting in the filter map can modify the graph and this cannot
    92   /// just a setting in the filter map can modify the graph and this cannot
    93   /// be watched in any way.
    93   /// be watched in any way.
    94   ///
    94   ///
    95   /// \param _Container The container which is observed.
    95   /// \param _Container The container which is observed.
    96   /// \param _Item The item type which is obserbved.
    96   /// \param _Item The item type which is obserbved.
    97   ///
       
    98   /// \author Balazs Dezso
       
    99 
    97 
   100   template <typename _Container, typename _Item>
    98   template <typename _Container, typename _Item>
   101   class AlterationNotifier {
    99   class AlterationNotifier {
   102   public:
   100   public:
   103 
   101 
   128     /// erased.
   126     /// erased.
   129     ///
   127     ///
   130     /// The build() and clear() members are to notify the observer
   128     /// The build() and clear() members are to notify the observer
   131     /// about the container is built from an empty container or
   129     /// about the container is built from an empty container or
   132     /// is cleared to an empty container. 
   130     /// is cleared to an empty container. 
   133     /// 
       
   134     /// \author Balazs Dezso
       
   135 
   131 
   136     class ObserverBase {
   132     class ObserverBase {
   137     protected:
   133     protected:
   138       typedef AlterationNotifier Notifier;
   134       typedef AlterationNotifier Notifier;
   139 
   135