COIN-OR::LEMON - Graph Library

Changeset 1039:bd01c5a3f989 in lemon-0.x for src/lemon/array_map.h


Ignore:
Timestamp:
12/16/04 13:26:57 (20 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1429
Message:

AlterationObserverRegistry? -> AlterationNotifier?
2 step

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/array_map.h

    r988 r1039  
    4444            typename _ItemIt,
    4545            typename _Value>
    46   class ArrayMap : public AlterationObserverRegistry<_Item>::ObserverBase {
     46  class ArrayMap : public AlterationNotifier<_Item>::ObserverBase {
    4747
    4848  public:
     
    5353    typedef _Item Key;
    5454
    55     typedef AlterationObserverRegistry<_Item> Registry;
     55    typedef AlterationNotifier<_Item> Registry;
    5656
    5757  private:
     
    8989     */
    9090    ArrayMap(const Graph& _g) : graph(&_g) {
    91       attach(_g.getObserverRegistry(_Item()));
     91      attach(_g.getNotifier(_Item()));
    9292      allocate_memory();
    9393      for (KeyIt it(*graph); it != INVALID; ++it) {
     
    102102
    103103    ArrayMap(const Graph& _g, const Value& _v) : graph(&_g) {
    104       attach(_g.getObserverRegistry(_Item()));
     104      attach(_g.getNotifier(_Item()));
    105105      allocate_memory();
    106106      for (KeyIt it(*graph); it != INVALID; ++it) {
     
    337337    typedef typename Parent::Node Node;
    338338    typedef typename Parent::NodeIt NodeIt;
    339     typedef typename Parent::NodeObserverRegistry NodeObserverRegistry;
     339    typedef typename Parent::NodeNotifier NodeObserverRegistry;
    340340
    341341    typedef typename Parent::Edge Edge;
    342342    typedef typename Parent::EdgeIt EdgeIt;
    343     typedef typename Parent::EdgeObserverRegistry EdgeObserverRegistry;
     343    typedef typename Parent::EdgeNotifier EdgeObserverRegistry;
    344344
    345345   
Note: See TracChangeset for help on using the changeset viewer.