COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
12/16/04 13:26:57 (19 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 moved

Legend:

Unmodified
Added
Removed
  • src/lemon/alteration_notifier.h

    r1038 r1039  
    188188    /// It creates only an empty registry because the copiable
    189189    /// registry's observers have to be registered still into that registry.
    190     AlterationNotifier(const AlterationObserverRegistry&) {}
     190    AlterationNotifier(const AlterationNotifier&) {}
    191191
    192192    /// Assign operator.
     
    195195    /// It makes the registry only empty because the copiable
    196196    /// registry's observers have to be registered still into that registry.
    197     AlterationNotifier& operator=(const AlterationObserverRegistry&) {
     197    AlterationNotifier& operator=(const AlterationNotifier&) {
    198198      typename Container::iterator it;
    199199      for (it = container.begin(); it != container.end(); ++it) {
     
    309309
    310310    /// The edge observer registry.
    311     typedef AlterationNotifier<Edge> EdgeObserverRegistry;
     311    typedef AlterationNotifier<Edge> EdgeNotifier;
    312312    /// The node observer registry.
    313     typedef AlterationNotifier<Node> NodeObserverRegistry;
     313    typedef AlterationNotifier<Node> NodeNotifier;
    314314
    315315
     
    322322  public:
    323323
    324     EdgeNotifier& getObserverRegistry(Edge = INVALID) const {
     324    EdgeNotifier& getNotifier(Edge = INVALID) const {
    325325      return edge_observers;
    326326    }
    327327
    328     NodeNotifier& getObserverRegistry(Node = INVALID) const {
     328    NodeNotifier& getNotifier(Node = INVALID) const {
    329329      return node_observers;
    330330    }
     
    359359
    360360    /// The edge observer registry.
    361     typedef AlterationNotifier<UndirEdge> UndirEdgeObserverRegistry;
     361    typedef AlterationNotifier<UndirEdge> UndirEdgeNotifier;
    362362
    363363  protected:
     
    368368
    369369    using Parent::getNotifier;
    370     UndirEdgeNotifier& getObserverRegistry(UndirEdge) const {
     370    UndirEdgeNotifier& getNotifier(UndirEdge) const {
    371371      return undir_edge_observers;
    372372    }
Note: See TracChangeset for help on using the changeset viewer.