Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::ptr_multimap< Key, T, Compare, CloneAllocator, Allocator > Class Template Reference

#include <ptr_map.hpp>

Inheritance diagram for boost::ptr_multimap< Key, T, Compare, CloneAllocator, Allocator >:
Collaboration diagram for boost::ptr_multimap< Key, T, Compare, CloneAllocator, Allocator >:

Public Types

typedef BOOST_DEDUCED_TYPENAME
base_type::iterator 
iterator
 
typedef BOOST_DEDUCED_TYPENAME
base_type::const_iterator 
const_iterator
 
typedef BOOST_DEDUCED_TYPENAME
base_type::size_type 
size_type
 
typedef BOOST_DEDUCED_TYPENAME
base_type::key_type 
key_type
 
typedef BOOST_DEDUCED_TYPENAME
base_type::const_reference 
const_reference
 
typedef BOOST_DEDUCED_TYPENAME
base_type::mapped_type 
mapped_type
 
typedef BOOST_DEDUCED_TYPENAME
base_type::auto_type 
auto_type
 
typedef BOOST_DEDUCED_TYPENAME
std::multimap< Key, void
*, Compare, Allocator >
::allocator_type 
allocator_type
 
typedef BOOST_DEDUCED_TYPENAME
base_type::reference 
mapped_reference
 
typedef BOOST_DEDUCED_TYPENAME
base_type::const_reference 
const_mapped_reference
 
typedef BOOST_DEDUCED_TYPENAME
iterator_value< iterator >
::type 
value_type
 
typedef value_type reference
 
typedef value_type pointer
 
typedef const_reference const_pointer
 

Public Member Functions

 ptr_multimap ()
 
 ptr_multimap (const Compare &comp, const Allocator &a=Allocator())
 
template<class InputIterator >
 ptr_multimap (InputIterator first, InputIterator last)
 
template<class InputIterator >
 ptr_multimap (InputIterator first, InputIterator last, const Compare &comp, const Allocator &a=Allocator())
 
 BOOST_PTR_CONTAINER_DEFINE_RELEASE_AND_CLONE (ptr_multimap, base_type, this_type) template< class U > ptr_multimap(const ptr_multimap< Key
 
void insert (InputIterator first, InputIterator last)
 
void insert (const Range &r)
 
iterator insert (key_type &key, mapped_type x)
 
iterator insert (const key_type &key, std::auto_ptr< U > x)
 
iterator insert (iterator before, ptr_container_detail::ref_pair< F, S > p)
 
iterator insert (iterator before, key_type &key, mapped_type x)
 
iterator insert (iterator before, const key_type &key, std::auto_ptr< U > x)
 
void transfer (BOOST_DEDUCED_TYPENAME PtrMapAdapter::iterator object, PtrMapAdapter &from)
 
size_type transfer (BOOST_DEDUCED_TYPENAME PtrMapAdapter::iterator first, BOOST_DEDUCED_TYPENAME PtrMapAdapter::iterator last, PtrMapAdapter &from)
 
BOOST_DEDUCED_TYPENAME
boost::disable_if
< boost::is_same< Range,
BOOST_DEDUCED_TYPENAME
PtrMapAdapter::iterator >
, size_type >::type 
transfer (const Range &r, PtrMapAdapter &from)
 
void transfer (PtrMapAdapter &from)
 
iterator find (const key_type &x)
 
const_iterator find (const key_type &x) const
 
size_type count (const key_type &x) const
 
iterator lower_bound (const key_type &x)
 
const_iterator lower_bound (const key_type &x) const
 
iterator upper_bound (const key_type &x)
 
const_iterator upper_bound (const key_type &x) const
 
iterator_range< iteratorequal_range (const key_type &x)
 
iterator_range< const_iteratorequal_range (const key_type &x) const
 
mapped_reference at (const key_type &key)
 
const_mapped_reference at (const key_type &key) const
 
mapped_reference operator[] (const key_type &key)
 
auto_type replace (iterator where, mapped_type x)
 
auto_type replace (iterator where, std::auto_ptr< U > x)
 

Public Attributes

U & r: base_type( r ) { } ptr_multimap& operator=( ptr_multimap r ) { this->swap( r )
 
return * this
 

Protected Member Functions

size_type bucket (const key_type &key) const
 

Member Typedef Documentation

typedef BOOST_DEDUCED_TYPENAME std::multimap< Key, void *, Compare, Allocator > ::allocator_type boost::ptr_multimap_adapter< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::allocator_type
inherited
typedef BOOST_DEDUCED_TYPENAME base_type::auto_type boost::ptr_multimap_adapter< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::auto_type
inherited
typedef BOOST_DEDUCED_TYPENAME base_type::const_iterator boost::ptr_multimap_adapter< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::const_iterator
inherited
typedef BOOST_DEDUCED_TYPENAME base_type::const_reference boost::ptr_container_detail::ptr_map_adapter_base< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::const_mapped_reference
inherited
typedef const_reference boost::ptr_container_detail::ptr_map_adapter_base< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::const_pointer
inherited
typedef BOOST_DEDUCED_TYPENAME base_type::const_reference boost::ptr_multimap_adapter< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::const_reference
inherited
typedef BOOST_DEDUCED_TYPENAME base_type::iterator boost::ptr_multimap_adapter< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::iterator
inherited
typedef BOOST_DEDUCED_TYPENAME base_type::key_type boost::ptr_multimap_adapter< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::key_type
inherited
typedef BOOST_DEDUCED_TYPENAME base_type::reference boost::ptr_container_detail::ptr_map_adapter_base< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::mapped_reference
inherited
typedef BOOST_DEDUCED_TYPENAME base_type::mapped_type boost::ptr_multimap_adapter< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::mapped_type
inherited
typedef value_type boost::ptr_container_detail::ptr_map_adapter_base< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::pointer
inherited
typedef value_type boost::ptr_container_detail::ptr_map_adapter_base< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::reference
inherited
typedef BOOST_DEDUCED_TYPENAME base_type::size_type boost::ptr_multimap_adapter< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::size_type
inherited
typedef BOOST_DEDUCED_TYPENAME iterator_value<iterator>::type boost::ptr_container_detail::ptr_map_adapter_base< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::value_type
inherited

Constructor & Destructor Documentation

template<class Key, class T, class Compare = std::less<Key>, class CloneAllocator = heap_clone_allocator, class Allocator = std::allocator< std::pair<const Key,void*> >>
boost::ptr_multimap< Key, T, Compare, CloneAllocator, Allocator >::ptr_multimap ( )
inline
template<class Key, class T, class Compare = std::less<Key>, class CloneAllocator = heap_clone_allocator, class Allocator = std::allocator< std::pair<const Key,void*> >>
boost::ptr_multimap< Key, T, Compare, CloneAllocator, Allocator >::ptr_multimap ( const Compare &  comp,
const Allocator &  a = Allocator() 
)
inlineexplicit
template<class Key, class T, class Compare = std::less<Key>, class CloneAllocator = heap_clone_allocator, class Allocator = std::allocator< std::pair<const Key,void*> >>
template<class InputIterator >
boost::ptr_multimap< Key, T, Compare, CloneAllocator, Allocator >::ptr_multimap ( InputIterator  first,
InputIterator  last 
)
inline
template<class Key, class T, class Compare = std::less<Key>, class CloneAllocator = heap_clone_allocator, class Allocator = std::allocator< std::pair<const Key,void*> >>
template<class InputIterator >
boost::ptr_multimap< Key, T, Compare, CloneAllocator, Allocator >::ptr_multimap ( InputIterator  first,
InputIterator  last,
const Compare &  comp,
const Allocator &  a = Allocator() 
)
inline

Member Function Documentation

mapped_reference boost::ptr_container_detail::ptr_map_adapter_base< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::at ( const key_type key)
inlineinherited
const_mapped_reference boost::ptr_container_detail::ptr_map_adapter_base< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::at ( const key_type key) const
inlineinherited
template<class Key, class T, class Compare = std::less<Key>, class CloneAllocator = heap_clone_allocator, class Allocator = std::allocator< std::pair<const Key,void*> >>
boost::ptr_multimap< Key, T, Compare, CloneAllocator, Allocator >::BOOST_PTR_CONTAINER_DEFINE_RELEASE_AND_CLONE ( ptr_multimap< Key, T, Compare, CloneAllocator, Allocator >  ,
base_type  ,
this_type   
) const
size_type boost::ptr_container_detail::ptr_map_adapter_base< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::bucket ( const key_type key) const
inlineprotectedinherited
size_type boost::ptr_container_detail::ptr_map_adapter_base< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::count ( const key_type x) const
inlineinherited
iterator_range<iterator> boost::ptr_container_detail::ptr_map_adapter_base< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::equal_range ( const key_type x)
inlineinherited
iterator_range<const_iterator> boost::ptr_container_detail::ptr_map_adapter_base< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::equal_range ( const key_type x) const
inlineinherited
iterator boost::ptr_container_detail::ptr_map_adapter_base< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::find ( const key_type x)
inlineinherited
const_iterator boost::ptr_container_detail::ptr_map_adapter_base< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::find ( const key_type x) const
inlineinherited
void boost::ptr_multimap_adapter< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::insert ( InputIterator  first,
InputIterator  last 
)
inlineinherited
void boost::ptr_multimap_adapter< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::insert ( const Range &  r)
inlineinherited
iterator boost::ptr_multimap_adapter< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::insert ( key_type key,
mapped_type  x 
)
inlineinherited
iterator boost::ptr_multimap_adapter< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::insert ( const key_type key,
std::auto_ptr< U >  x 
)
inlineinherited
iterator boost::ptr_multimap_adapter< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::insert ( iterator  before,
ptr_container_detail::ref_pair< F, S >  p 
)
inlineinherited
iterator boost::ptr_multimap_adapter< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::insert ( iterator  before,
key_type key,
mapped_type  x 
)
inlineinherited
iterator boost::ptr_multimap_adapter< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::insert ( iterator  before,
const key_type key,
std::auto_ptr< U >  x 
)
inlineinherited
iterator boost::ptr_container_detail::ptr_map_adapter_base< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::lower_bound ( const key_type x)
inlineinherited
const_iterator boost::ptr_container_detail::ptr_map_adapter_base< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::lower_bound ( const key_type x) const
inlineinherited
mapped_reference boost::ptr_container_detail::ptr_map_adapter_base< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::operator[] ( const key_type key)
inlineinherited
auto_type boost::ptr_container_detail::ptr_map_adapter_base< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::replace ( iterator  where,
mapped_type  x 
)
inlineinherited
auto_type boost::ptr_container_detail::ptr_map_adapter_base< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::replace ( iterator  where,
std::auto_ptr< U >  x 
)
inlineinherited
void boost::ptr_multimap_adapter< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::transfer ( BOOST_DEDUCED_TYPENAME PtrMapAdapter::iterator  object,
PtrMapAdapter &  from 
)
inlineinherited
size_type boost::ptr_multimap_adapter< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::transfer ( BOOST_DEDUCED_TYPENAME PtrMapAdapter::iterator  first,
BOOST_DEDUCED_TYPENAME PtrMapAdapter::iterator  last,
PtrMapAdapter &  from 
)
inlineinherited
BOOST_DEDUCED_TYPENAME boost::disable_if< boost::is_same< Range, BOOST_DEDUCED_TYPENAME PtrMapAdapter::iterator >, size_type >::type boost::ptr_multimap_adapter< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::transfer ( const Range &  r,
PtrMapAdapter &  from 
)
inlineinherited
void boost::ptr_multimap_adapter< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::transfer ( PtrMapAdapter &  from)
inlineinherited
iterator boost::ptr_container_detail::ptr_map_adapter_base< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::upper_bound ( const key_type x)
inlineinherited
const_iterator boost::ptr_container_detail::ptr_map_adapter_base< T, std::multimap< Key, void *, Compare, Allocator > , CloneAllocator, Ordered >::upper_bound ( const key_type x) const
inlineinherited

Member Data Documentation

template<class Key, class T, class Compare = std::less<Key>, class CloneAllocator = heap_clone_allocator, class Allocator = std::allocator< std::pair<const Key,void*> >>
U& boost::ptr_multimap< Key, T, Compare, CloneAllocator, Allocator >::r
template<class Key, class T, class Compare = std::less<Key>, class CloneAllocator = heap_clone_allocator, class Allocator = std::allocator< std::pair<const Key,void*> >>
return* boost::ptr_multimap< Key, T, Compare, CloneAllocator, Allocator >::this

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