lemon/bits/map_extender.h
changeset 357 3fb8ed1322de
parent 263 be8a861d3bb7
child 440 88ed40ad0d4f
child 707 e9c203fb003d
equal deleted inserted replaced
3:c43f182000b3 4:71bb5c1d0034
    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;