src/lemon/list_graph.h
changeset 1071 7c70fc1b2d8b
parent 1039 bd01c5a3f989
child 1080 568ce2be7fe0
equal deleted inserted replaced
14:6471de1e4344 15:90d499cb5f04
   429       }
   429       }
   430 
   430 
   431       void regist(ListGraph &_g) {
   431       void regist(ListGraph &_g) {
   432 	g=&_g;
   432 	g=&_g;
   433 	AlterationNotifier<Node>::ObserverBase::
   433 	AlterationNotifier<Node>::ObserverBase::
   434 	  attach(g->node_observers);
   434 	  attach(g->getNotifier(Node()));
   435 	AlterationNotifier<Edge>::ObserverBase::
   435 	AlterationNotifier<Edge>::ObserverBase::
   436 	  attach(g->edge_observers);
   436 	  attach(g->getNotifier(Edge()));
   437       }
   437       }
   438             
   438             
   439       void deregist() {
   439       void deregist() {
   440 	AlterationNotifier<Node>::ObserverBase::
   440 	AlterationNotifier<Node>::ObserverBase::
   441 	  detach();
   441 	  detach();