Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::bimaps::views::map_view< Tag, BimapType > Class Template Reference

View of a side of a bimap that is signature compatible with std::map. More...

#include <map_view.hpp>

Inheritance diagram for boost::bimaps::views::map_view< Tag, BimapType >:
Collaboration diagram for boost::bimaps::views::map_view< Tag, BimapType >:

Public Types

typedef BOOST_DEDUCED_TYPENAME
base_::value_type::info_type 
info_type
 

Public Member Functions

 map_view (BOOST_DEDUCED_TYPENAME base_::base_type &c)
 
map_viewoperator= (const map_view &v)
 
template<class CompatibleKey >
const info_typeinfo_at (const CompatibleKey &k) const
 
template<class CompatibleKey >
info_typeinfo_at (const CompatibleKey &k)
 

Detailed Description

template<class Tag, class BimapType>
class boost::bimaps::views::map_view< Tag, BimapType >

View of a side of a bimap that is signature compatible with std::map.

This class uses container_adaptor and iterator_adaptor to wrapped a index of the multi_index bimap core so it can be used as a std::map.

See also const_map_view.

Member Typedef Documentation

template<class Tag , class BimapType >
typedef BOOST_DEDUCED_TYPENAME base_::value_type::info_type boost::bimaps::views::map_view< Tag, BimapType >::info_type

Constructor & Destructor Documentation

template<class Tag , class BimapType >
boost::bimaps::views::map_view< Tag, BimapType >::map_view ( BOOST_DEDUCED_TYPENAME base_::base_type &  c)
inline

Member Function Documentation

template<class Tag , class BimapType >
template<class CompatibleKey >
const info_type& boost::bimaps::views::map_view< Tag, BimapType >::info_at ( const CompatibleKey &  k) const
inline
template<class Tag , class BimapType >
template<class CompatibleKey >
info_type& boost::bimaps::views::map_view< Tag, BimapType >::info_at ( const CompatibleKey &  k)
inline
template<class Tag , class BimapType >
map_view& boost::bimaps::views::map_view< Tag, BimapType >::operator= ( const map_view< Tag, BimapType > &  v)
inline

The documentation for this class was generated from the following file: