equal
deleted
inserted
replaced
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(); |