Changeset 1039:bd01c5a3f989 in lemon-0.x for src/lemon/array_map.h
- Timestamp:
- 12/16/04 13:26:57 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1429
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/lemon/array_map.h
r988 r1039 44 44 typename _ItemIt, 45 45 typename _Value> 46 class ArrayMap : public Alteration ObserverRegistry<_Item>::ObserverBase {46 class ArrayMap : public AlterationNotifier<_Item>::ObserverBase { 47 47 48 48 public: … … 53 53 typedef _Item Key; 54 54 55 typedef Alteration ObserverRegistry<_Item> Registry;55 typedef AlterationNotifier<_Item> Registry; 56 56 57 57 private: … … 89 89 */ 90 90 ArrayMap(const Graph& _g) : graph(&_g) { 91 attach(_g.get ObserverRegistry(_Item()));91 attach(_g.getNotifier(_Item())); 92 92 allocate_memory(); 93 93 for (KeyIt it(*graph); it != INVALID; ++it) { … … 102 102 103 103 ArrayMap(const Graph& _g, const Value& _v) : graph(&_g) { 104 attach(_g.get ObserverRegistry(_Item()));104 attach(_g.getNotifier(_Item())); 105 105 allocate_memory(); 106 106 for (KeyIt it(*graph); it != INVALID; ++it) { … … 337 337 typedef typename Parent::Node Node; 338 338 typedef typename Parent::NodeIt NodeIt; 339 typedef typename Parent::Node ObserverRegistryNodeObserverRegistry;339 typedef typename Parent::NodeNotifier NodeObserverRegistry; 340 340 341 341 typedef typename Parent::Edge Edge; 342 342 typedef typename Parent::EdgeIt EdgeIt; 343 typedef typename Parent::Edge ObserverRegistryEdgeObserverRegistry;343 typedef typename Parent::EdgeNotifier EdgeObserverRegistry; 344 344 345 345
Note: See TracChangeset
for help on using the changeset viewer.