Changes in lemon/concepts/graph.h [580:2313edd0db0b:559:c5fd2d996909] in lemon-main
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/concepts/graph.h
r580 r559 498 498 }; 499 499 500 /// \brief Reference map of the nodes to type \c T. 501 /// 502 /// Reference map of the nodes to type \c T. 500 /// \brief Read write map of the nodes to type \c T. 501 /// 502 /// ReadWrite map of the nodes to type \c T. 503 /// \sa Reference 503 504 template<class T> 504 class NodeMap : public Re ferenceMap<Node, T, T&, const T&>505 class NodeMap : public ReadWriteMap< Node, T > 505 506 { 506 507 public: … … 513 514 private: 514 515 ///Copy constructor 515 NodeMap(const NodeMap& nm) : 516 ReferenceMap<Node, T, T&, const T&>(nm) { } 516 NodeMap(const NodeMap& nm) : ReadWriteMap< Node, T >(nm) { } 517 517 ///Assignment operator 518 518 template <typename CMap> … … 523 523 }; 524 524 525 /// \brief Reference map of the arcs to type \c T. 526 /// 527 /// Reference map of the arcs to type \c T. 525 /// \brief Read write map of the directed arcs to type \c T. 526 /// 527 /// Reference map of the directed arcs to type \c T. 528 /// \sa Reference 528 529 template<class T> 529 class ArcMap : public Re ferenceMap<Arc, T, T&, const T&>530 class ArcMap : public ReadWriteMap<Arc,T> 530 531 { 531 532 public: … … 537 538 private: 538 539 ///Copy constructor 539 ArcMap(const ArcMap& em) : 540 ReferenceMap<Arc, T, T&, const T&>(em) { } 540 ArcMap(const ArcMap& em) : ReadWriteMap<Arc,T>(em) { } 541 541 ///Assignment operator 542 542 template <typename CMap> … … 547 547 }; 548 548 549 /// Reference map of the edges to type \c T. 550 551 /// Reference map of the edges to type \c T. 549 /// Read write map of the edges to type \c T. 550 551 /// Reference map of the arcs to type \c T. 552 /// \sa Reference 552 553 template<class T> 553 class EdgeMap : public Re ferenceMap<Edge, T, T&, const T&>554 class EdgeMap : public ReadWriteMap<Edge,T> 554 555 { 555 556 public: … … 561 562 private: 562 563 ///Copy constructor 563 EdgeMap(const EdgeMap& em) : 564 ReferenceMap<Edge, T, T&, const T&>(em) {} 564 EdgeMap(const EdgeMap& em) : ReadWriteMap<Edge,T>(em) {} 565 565 ///Assignment operator 566 566 template <typename CMap> … … 749 749 struct Constraints { 750 750 void constraints() { 751 checkConcept<BaseGraphComponent, _Graph>();752 751 checkConcept<IterableGraphComponent<>, _Graph>(); 753 752 checkConcept<IDableGraphComponent<>, _Graph>();
Note: See TracChangeset
for help on using the changeset viewer.