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::unordered_map_view< Tag, BimapType > Class Template Reference

Map View of a bimap, signature compatible with tr1::unordered_map. More...

#include <unordered_map_view.hpp>

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

Public Types

typedef std::pair
< BOOST_DEDUCED_TYPENAME
base_::iterator,
BOOST_DEDUCED_TYPENAME
base_::iterator > 
range_type
 
typedef std::pair
< BOOST_DEDUCED_TYPENAME
base_::const_iterator,
BOOST_DEDUCED_TYPENAME
base_::const_iterator > 
const_range_type
 
typedef BOOST_DEDUCED_TYPENAME
base_::value_type::info_type 
info_type
 

Public Member Functions

 unordered_map_view (BOOST_DEDUCED_TYPENAME base_::base_type &c)
 
unordered_map_viewoperator= (const unordered_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::unordered_map_view< Tag, BimapType >

Map View of a bimap, signature compatible with tr1::unordered_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 tr1::unordered_map.

See also const_unordered_map_view.

Member Typedef Documentation

template<class Tag , class BimapType >
typedef std::pair< BOOST_DEDUCED_TYPENAME base_::const_iterator, BOOST_DEDUCED_TYPENAME base_::const_iterator > boost::bimaps::views::unordered_map_view< Tag, BimapType >::const_range_type
template<class Tag , class BimapType >
typedef BOOST_DEDUCED_TYPENAME base_::value_type::info_type boost::bimaps::views::unordered_map_view< Tag, BimapType >::info_type
template<class Tag , class BimapType >
typedef std::pair< BOOST_DEDUCED_TYPENAME base_::iterator, BOOST_DEDUCED_TYPENAME base_::iterator > boost::bimaps::views::unordered_map_view< Tag, BimapType >::range_type

Constructor & Destructor Documentation

template<class Tag , class BimapType >
boost::bimaps::views::unordered_map_view< Tag, BimapType >::unordered_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::unordered_map_view< Tag, BimapType >::info_at ( const CompatibleKey &  k) const
inline
template<class Tag , class BimapType >
template<class CompatibleKey >
info_type& boost::bimaps::views::unordered_map_view< Tag, BimapType >::info_at ( const CompatibleKey &  k)
inline
template<class Tag , class BimapType >
unordered_map_view& boost::bimaps::views::unordered_map_view< Tag, BimapType >::operator= ( const unordered_map_view< Tag, BimapType > &  v)
inline

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