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

#include <ptr_set_adapter.hpp>

Inheritance diagram for boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >:
Collaboration diagram for boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >:

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 Key key_type
 
typedef BOOST_DEDUCED_TYPENAME
base_type::auto_type 
auto_type
 
typedef BOOST_DEDUCED_TYPENAME
VoidPtrSet::allocator_type 
allocator_type
 

Public Member Functions

 ptr_set_adapter ()
 
template<class SizeType >
 ptr_set_adapter (SizeType n, ptr_container_detail::unordered_associative_container_tag tag)
 
template<class Comp >
 ptr_set_adapter (const Comp &comp, const allocator_type &a)
 
template<class Hash , class Pred , class Allocator >
 ptr_set_adapter (const Hash &hash, const Pred &pred, const Allocator &a)
 
template<class InputIterator >
 ptr_set_adapter (InputIterator first, InputIterator last)
 
template<class InputIterator , class Compare , class Allocator >
 ptr_set_adapter (InputIterator first, InputIterator last, const Compare &comp, const Allocator a=Allocator())
 
template<class InputIterator , class Hash , class Pred , class Allocator >
 ptr_set_adapter (InputIterator first, InputIterator last, const Hash &hash, const Pred &pred, const Allocator &a)
 
 ptr_set_adapter (const ptr_set_adapter &r)
 
template<class U , class Set , class CA , bool b>
 ptr_set_adapter (const ptr_set_adapter< U, Set, CA, b > &r)
 
template<class PtrContainer >
 ptr_set_adapter (std::auto_ptr< PtrContainer > clone)
 
template<class U , class Set , class CA , bool b>
ptr_set_adapteroperator= (const ptr_set_adapter< U, Set, CA, b > &r)
 
template<class T >
void operator= (std::auto_ptr< T > r)
 
std::pair< iterator, bool > insert (key_type *x)
 
template<class U >
std::pair< iterator, bool > insert (std::auto_ptr< U > x)
 
iterator insert (iterator where, key_type *x)
 
template<class U >
iterator insert (iterator where, std::auto_ptr< U > x)
 
template<typename InputIterator >
void insert (InputIterator first, InputIterator last)
 
template<class Range >
BOOST_DEDUCED_TYPENAME
boost::disable_if
< ptr_container_detail::is_pointer_or_integral
< Range > >::type 
insert (const Range &r)
 
template<class PtrSetAdapter >
bool transfer (BOOST_DEDUCED_TYPENAME PtrSetAdapter::iterator object, PtrSetAdapter &from)
 
template<class PtrSetAdapter >
size_type transfer (BOOST_DEDUCED_TYPENAME PtrSetAdapter::iterator first, BOOST_DEDUCED_TYPENAME PtrSetAdapter::iterator last, PtrSetAdapter &from)
 
template<class PtrSetAdapter , class Range >
BOOST_DEDUCED_TYPENAME
boost::disable_if
< boost::is_same< Range,
BOOST_DEDUCED_TYPENAME
PtrSetAdapter::iterator >
, size_type >::type 
transfer (const Range &r, PtrSetAdapter &from)
 
template<class PtrSetAdapter >
size_type transfer (PtrSetAdapter &from)
 
size_type erase (const key_type &x)
 
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
 

Protected Member Functions

size_type bucket (const key_type &key) const
 

Member Typedef Documentation

template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
typedef BOOST_DEDUCED_TYPENAME VoidPtrSet::allocator_type boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::allocator_type
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
typedef BOOST_DEDUCED_TYPENAME base_type::auto_type boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::auto_type
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
typedef BOOST_DEDUCED_TYPENAME base_type::const_iterator boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::const_iterator
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
typedef BOOST_DEDUCED_TYPENAME base_type::iterator boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::iterator
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
typedef Key boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::key_type
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
typedef BOOST_DEDUCED_TYPENAME base_type::size_type boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::size_type

Constructor & Destructor Documentation

template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::ptr_set_adapter ( )
inline
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
template<class SizeType >
boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::ptr_set_adapter ( SizeType  n,
ptr_container_detail::unordered_associative_container_tag  tag 
)
inline
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
template<class Comp >
boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::ptr_set_adapter ( const Comp &  comp,
const allocator_type a 
)
inlineexplicit
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
template<class Hash , class Pred , class Allocator >
boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::ptr_set_adapter ( const Hash &  hash,
const Pred &  pred,
const Allocator &  a 
)
inline
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
template<class InputIterator >
boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::ptr_set_adapter ( InputIterator  first,
InputIterator  last 
)
inline
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
template<class InputIterator , class Compare , class Allocator >
boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::ptr_set_adapter ( InputIterator  first,
InputIterator  last,
const Compare &  comp,
const Allocator  a = Allocator() 
)
inline
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
template<class InputIterator , class Hash , class Pred , class Allocator >
boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::ptr_set_adapter ( InputIterator  first,
InputIterator  last,
const Hash &  hash,
const Pred &  pred,
const Allocator &  a 
)
inline
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::ptr_set_adapter ( const ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered > &  r)
inlineexplicit
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
template<class U , class Set , class CA , bool b>
boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::ptr_set_adapter ( const ptr_set_adapter< U, Set, CA, b > &  r)
inlineexplicit
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
template<class PtrContainer >
boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::ptr_set_adapter ( std::auto_ptr< PtrContainer >  clone)
inlineexplicit

Member Function Documentation

template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
size_type boost::ptr_container_detail::ptr_set_adapter_base< Key, VoidPtrSet, CloneAllocator, Ordered >::bucket ( const key_type key) const
inlineprotectedinherited
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
size_type boost::ptr_container_detail::ptr_set_adapter_base< Key, VoidPtrSet, CloneAllocator, Ordered >::count ( const key_type x) const
inlineinherited
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
iterator_range<iterator> boost::ptr_container_detail::ptr_set_adapter_base< Key, VoidPtrSet, CloneAllocator, Ordered >::equal_range ( const key_type x)
inlineinherited
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
iterator_range<const_iterator> boost::ptr_container_detail::ptr_set_adapter_base< Key, VoidPtrSet, CloneAllocator, Ordered >::equal_range ( const key_type x) const
inlineinherited
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
size_type boost::ptr_container_detail::ptr_set_adapter_base< Key, VoidPtrSet, CloneAllocator, Ordered >::erase ( const key_type x)
inlineinherited
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
const_iterator boost::ptr_container_detail::ptr_set_adapter_base< Key, VoidPtrSet, CloneAllocator, Ordered >::find ( const key_type x) const
inlineinherited
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
std::pair<iterator,bool> boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::insert ( key_type x)
inline
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
template<class U >
std::pair<iterator,bool> boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::insert ( std::auto_ptr< U >  x)
inline
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
iterator boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::insert ( iterator  where,
key_type x 
)
inline
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
template<class U >
iterator boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::insert ( iterator  where,
std::auto_ptr< U >  x 
)
inline
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
template<typename InputIterator >
void boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::insert ( InputIterator  first,
InputIterator  last 
)
inline
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
template<class Range >
BOOST_DEDUCED_TYPENAME boost::disable_if< ptr_container_detail::is_pointer_or_integral<Range> >::type boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::insert ( const Range &  r)
inline
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
iterator boost::ptr_container_detail::ptr_set_adapter_base< Key, VoidPtrSet, CloneAllocator, Ordered >::lower_bound ( const key_type x)
inlineinherited
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
const_iterator boost::ptr_container_detail::ptr_set_adapter_base< Key, VoidPtrSet, CloneAllocator, Ordered >::lower_bound ( const key_type x) const
inlineinherited
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
template<class U , class Set , class CA , bool b>
ptr_set_adapter& boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::operator= ( const ptr_set_adapter< U, Set, CA, b > &  r)
inline
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
template<class T >
void boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::operator= ( std::auto_ptr< T r)
inline
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
template<class PtrSetAdapter >
bool boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::transfer ( BOOST_DEDUCED_TYPENAME PtrSetAdapter::iterator  object,
PtrSetAdapter &  from 
)
inline
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
template<class PtrSetAdapter >
size_type boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::transfer ( BOOST_DEDUCED_TYPENAME PtrSetAdapter::iterator  first,
BOOST_DEDUCED_TYPENAME PtrSetAdapter::iterator  last,
PtrSetAdapter &  from 
)
inline
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
template<class PtrSetAdapter , class Range >
BOOST_DEDUCED_TYPENAME boost::disable_if< boost::is_same< Range, BOOST_DEDUCED_TYPENAME PtrSetAdapter::iterator >, size_type >::type boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::transfer ( const Range &  r,
PtrSetAdapter &  from 
)
inline
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
template<class PtrSetAdapter >
size_type boost::ptr_set_adapter< Key, VoidPtrSet, CloneAllocator, Ordered >::transfer ( PtrSetAdapter &  from)
inline
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
iterator boost::ptr_container_detail::ptr_set_adapter_base< Key, VoidPtrSet, CloneAllocator, Ordered >::upper_bound ( const key_type x)
inlineinherited
template<class Key, class VoidPtrSet, class CloneAllocator = heap_clone_allocator, bool Ordered = true>
const_iterator boost::ptr_container_detail::ptr_set_adapter_base< Key, VoidPtrSet, CloneAllocator, Ordered >::upper_bound ( const key_type x) const
inlineinherited

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