Changeset 1039:bd01c5a3f989 in lemon-0.x for src/lemon/alteration_notifier.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 moved
Legend:
- Unmodified
- Added
- Removed
-
src/lemon/alteration_notifier.h
r1038 r1039 188 188 /// It creates only an empty registry because the copiable 189 189 /// registry's observers have to be registered still into that registry. 190 AlterationNotifier(const Alteration ObserverRegistry&) {}190 AlterationNotifier(const AlterationNotifier&) {} 191 191 192 192 /// Assign operator. … … 195 195 /// It makes the registry only empty because the copiable 196 196 /// registry's observers have to be registered still into that registry. 197 AlterationNotifier& operator=(const Alteration ObserverRegistry&) {197 AlterationNotifier& operator=(const AlterationNotifier&) { 198 198 typename Container::iterator it; 199 199 for (it = container.begin(); it != container.end(); ++it) { … … 309 309 310 310 /// The edge observer registry. 311 typedef AlterationNotifier<Edge> Edge ObserverRegistry;311 typedef AlterationNotifier<Edge> EdgeNotifier; 312 312 /// The node observer registry. 313 typedef AlterationNotifier<Node> Node ObserverRegistry;313 typedef AlterationNotifier<Node> NodeNotifier; 314 314 315 315 … … 322 322 public: 323 323 324 EdgeNotifier& get ObserverRegistry(Edge = INVALID) const {324 EdgeNotifier& getNotifier(Edge = INVALID) const { 325 325 return edge_observers; 326 326 } 327 327 328 NodeNotifier& get ObserverRegistry(Node = INVALID) const {328 NodeNotifier& getNotifier(Node = INVALID) const { 329 329 return node_observers; 330 330 } … … 359 359 360 360 /// The edge observer registry. 361 typedef AlterationNotifier<UndirEdge> UndirEdge ObserverRegistry;361 typedef AlterationNotifier<UndirEdge> UndirEdgeNotifier; 362 362 363 363 protected: … … 368 368 369 369 using Parent::getNotifier; 370 UndirEdgeNotifier& get ObserverRegistry(UndirEdge) const {370 UndirEdgeNotifier& getNotifier(UndirEdge) const { 371 371 return undir_edge_observers; 372 372 }
Note: See TracChangeset
for help on using the changeset viewer.