equal
deleted
inserted
replaced
24 #include <lemon/bits/traits.h> |
24 #include <lemon/bits/traits.h> |
25 |
25 |
26 #include <lemon/concept_check.h> |
26 #include <lemon/concept_check.h> |
27 #include <lemon/concepts/maps.h> |
27 #include <lemon/concepts/maps.h> |
28 |
28 |
29 ///\file |
29 //\file |
30 ///\brief Extenders for iterable maps. |
30 //\brief Extenders for iterable maps. |
31 |
31 |
32 namespace lemon { |
32 namespace lemon { |
33 |
33 |
34 /// \ingroup graphbits |
34 // \ingroup graphbits |
35 /// |
35 // |
36 /// \brief Extender for maps |
36 // \brief Extender for maps |
37 template <typename _Map> |
37 template <typename _Map> |
38 class MapExtender : public _Map { |
38 class MapExtender : public _Map { |
39 public: |
39 public: |
40 |
40 |
41 typedef _Map Parent; |
41 typedef _Map Parent; |
169 const Map& map; |
169 const Map& map; |
170 |
170 |
171 }; |
171 }; |
172 }; |
172 }; |
173 |
173 |
174 /// \ingroup graphbits |
174 // \ingroup graphbits |
175 /// |
175 // |
176 /// \brief Extender for maps which use a subset of the items. |
176 // \brief Extender for maps which use a subset of the items. |
177 template <typename _Graph, typename _Map> |
177 template <typename _Graph, typename _Map> |
178 class SubMapExtender : public _Map { |
178 class SubMapExtender : public _Map { |
179 public: |
179 public: |
180 |
180 |
181 typedef _Map Parent; |
181 typedef _Map Parent; |