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

#include <ptr_array.hpp>

Inheritance diagram for boost::ptr_array< T, N, CloneAllocator >:
Collaboration diagram for boost::ptr_array< T, N, CloneAllocator >:

Public Types

typedef std::size_t size_type
 
typedef U * value_type
 
typedef U * pointer
 
typedef U & reference
 
typedef const U & const_reference
 
typedef BOOST_DEDUCED_TYPENAME
base_class::auto_type 
auto_type
 
typedef BOOST_DEDUCED_TYPENAME
base_type::clone_allocator_type 
clone_allocator_type
 
typedef BOOST_DEDUCED_TYPENAME
base_type::iterator 
iterator
 
typedef BOOST_DEDUCED_TYPENAME
base_type::allocator_type 
allocator_type
 

Public Member Functions

 ptr_array ()
 
 ptr_array (const ptr_array &r)
 
template<class U >
 ptr_array (const ptr_array< U, N > &r)
 
 ptr_array (std::auto_ptr< this_type > r)
 
ptr_arrayoperator= (ptr_array r)
 
ptr_arrayoperator= (std::auto_ptr< this_type > r)
 
std::auto_ptr< this_typerelease ()
 
std::auto_ptr< this_typeclone () const
 
template<size_t idx>
auto_type replace (U *r)
 
template<size_t idx, class V >
auto_type replace (std::auto_ptr< V > r)
 
auto_type replace (size_t idx, U *r)
 
template<class V >
auto_type replace (size_t idx, std::auto_ptr< V > r)
 
template<size_t idx>
Tat ()
 
template<size_t idx>
const Tat () const
 
bool is_null (size_t idx) const
 
template<size_t idx>
bool is_null () const
 
void push_back (value_type x)
 
void push_back (std::auto_ptr< U > x)
 
void push_front (value_type x)
 
void push_front (std::auto_ptr< U > x)
 
auto_type pop_back ()
 
auto_type pop_front ()
 
reference front ()
 
const_reference front () const
 
reference back ()
 
const_reference back () const
 
reference operator[] (size_type n)
 
const_reference operator[] (size_type n) const
 
reference at (size_type n)
 
const_reference at (size_type n) const
 
size_type capacity () const
 
void reserve (size_type n)
 
void reverse ()
 
void assign (InputIterator first, InputIterator last)
 
void assign (const Range &r)
 
void insert (iterator before, InputIterator first, InputIterator last)
 
BOOST_DEDUCED_TYPENAME
boost::disable_if
< ptr_container_detail::is_pointer_or_integral
< Range > >::type 
insert (iterator before, const Range &r)
 
void transfer (iterator before, BOOST_DEDUCED_TYPENAME PtrSeqAdapter::iterator first, BOOST_DEDUCED_TYPENAME PtrSeqAdapter::iterator last, PtrSeqAdapter &from)
 
void transfer (iterator before, BOOST_DEDUCED_TYPENAME PtrSeqAdapter::iterator object, PtrSeqAdapter &from)
 
BOOST_DEDUCED_TYPENAME
boost::disable_if
< boost::is_same< Range,
BOOST_DEDUCED_TYPENAME
PtrSeqAdapter::iterator >
>::type 
transfer (iterator before, const Range &r, PtrSeqAdapter &from)
 
void transfer (iterator before, PtrSeqAdapter &from)
 
void transfer (iterator before, value_type *from, size_type size, bool delete_from=true)
 
value_typec_array ()
 
bool is_null (size_type idx) const
 
void resize (size_type size)
 
void resize (size_type size, value_type to_clone)
 
void rresize (size_type size)
 
void rresize (size_type size, value_type to_clone)
 
void sort (iterator first, iterator last)
 
void sort ()
 
void sort (iterator first, iterator last, Compare comp)
 
void sort (Compare comp)
 
void unique (iterator first, iterator last)
 
void unique ()
 
void unique (iterator first, iterator last, Compare comp)
 
void unique (Compare comp)
 
void erase_if (iterator first, iterator last, Pred pred)
 
void erase_if (Pred pred)
 
void merge (iterator first, iterator last, ptr_sequence_adapter &from)
 
void merge (iterator first, iterator last, ptr_sequence_adapter &from, BinPred pred)
 
void merge (ptr_sequence_adapter &r)
 
void merge (ptr_sequence_adapter &r, BinPred pred)
 

Protected Types

typedef BOOST_DEDUCED_TYPENAME
base_type::scoped_deleter 
scoped_deleter
 

Member Typedef Documentation

typedef BOOST_DEDUCED_TYPENAME base_type::allocator_type boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::allocator_type
inherited
template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
typedef BOOST_DEDUCED_TYPENAME base_class::auto_type boost::ptr_array< T, N, CloneAllocator >::auto_type
typedef BOOST_DEDUCED_TYPENAME base_type::clone_allocator_type boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::clone_allocator_type
inherited
template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
typedef const U& boost::ptr_array< T, N, CloneAllocator >::const_reference
typedef BOOST_DEDUCED_TYPENAME base_type::iterator boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::iterator
inherited
template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
typedef U* boost::ptr_array< T, N, CloneAllocator >::pointer
template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
typedef U& boost::ptr_array< T, N, CloneAllocator >::reference
typedef BOOST_DEDUCED_TYPENAME base_type::scoped_deleter boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::scoped_deleter
protectedinherited
template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
typedef std::size_t boost::ptr_array< T, N, CloneAllocator >::size_type
template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
typedef U* boost::ptr_array< T, N, CloneAllocator >::value_type

Constructor & Destructor Documentation

template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
boost::ptr_array< T, N, CloneAllocator >::ptr_array ( )
inline
template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
boost::ptr_array< T, N, CloneAllocator >::ptr_array ( const ptr_array< T, N, CloneAllocator > &  r)
inline
template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
template<class U >
boost::ptr_array< T, N, CloneAllocator >::ptr_array ( const ptr_array< U, N > &  r)
inline
template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
boost::ptr_array< T, N, CloneAllocator >::ptr_array ( std::auto_ptr< this_type r)
inlineexplicit

Member Function Documentation

void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::assign ( InputIterator  first,
InputIterator  last 
)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::assign ( const Range &  r)
inlineinherited
template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
template<size_t idx>
T& boost::ptr_array< T, N, CloneAllocator >::at ( )
inline
template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
template<size_t idx>
const T& boost::ptr_array< T, N, CloneAllocator >::at ( ) const
inline
reference boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::at ( size_type  n)
inlineinherited
const_reference boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::at ( size_type  n) const
inlineinherited
reference boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::back ( )
inlineinherited
const_reference boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::back ( ) const
inlineinherited
value_type* boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::c_array ( )
inlineinherited
size_type boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::capacity ( ) const
inlineinherited
template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
std::auto_ptr<this_type> boost::ptr_array< T, N, CloneAllocator >::clone ( ) const
inline
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::erase_if ( iterator  first,
iterator  last,
Pred  pred 
)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::erase_if ( Pred  pred)
inlineinherited
reference boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::front ( void  )
inlineinherited
const_reference boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::front ( void  ) const
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::insert ( iterator  before,
InputIterator  first,
InputIterator  last 
)
inlineinherited
BOOST_DEDUCED_TYPENAME boost::disable_if< ptr_container_detail::is_pointer_or_integral<Range> >::type boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::insert ( iterator  before,
const Range &  r 
)
inlineinherited
template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
bool boost::ptr_array< T, N, CloneAllocator >::is_null ( size_t  idx) const
inline
template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
template<size_t idx>
bool boost::ptr_array< T, N, CloneAllocator >::is_null ( ) const
inline
bool boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::is_null ( size_type  idx) const
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::merge ( iterator  first,
iterator  last,
ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N >, CloneAllocator > &  from 
)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::merge ( iterator  first,
iterator  last,
ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N >, CloneAllocator > &  from,
BinPred  pred 
)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::merge ( ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N >, CloneAllocator > &  r)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::merge ( ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N >, CloneAllocator > &  r,
BinPred  pred 
)
inlineinherited
template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
ptr_array& boost::ptr_array< T, N, CloneAllocator >::operator= ( ptr_array< T, N, CloneAllocator >  r)
inline

References boost::swap.

template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
ptr_array& boost::ptr_array< T, N, CloneAllocator >::operator= ( std::auto_ptr< this_type r)
inline
reference boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::operator[] ( size_type  n)
inlineinherited
const_reference boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::operator[] ( size_type  n) const
inlineinherited
auto_type boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::pop_back ( )
inlineinherited
auto_type boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::pop_front ( )
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::push_back ( value_type  x)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::push_back ( std::auto_ptr< U >  x)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::push_front ( value_type  x)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::push_front ( std::auto_ptr< U >  x)
inlineinherited
template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
std::auto_ptr<this_type> boost::ptr_array< T, N, CloneAllocator >::release ( )
inline
template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
template<size_t idx>
auto_type boost::ptr_array< T, N, CloneAllocator >::replace ( U *  r)
inline
template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
template<size_t idx, class V >
auto_type boost::ptr_array< T, N, CloneAllocator >::replace ( std::auto_ptr< V >  r)
inline
template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
auto_type boost::ptr_array< T, N, CloneAllocator >::replace ( size_t  idx,
U *  r 
)
inline
template<class T, size_t N, class CloneAllocator = heap_clone_allocator>
template<class V >
auto_type boost::ptr_array< T, N, CloneAllocator >::replace ( size_t  idx,
std::auto_ptr< V >  r 
)
inline
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::reserve ( size_type  n)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::resize ( size_type  size)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::resize ( size_type  size,
value_type  to_clone 
)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::reverse ( )
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::rresize ( size_type  size)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::rresize ( size_type  size,
value_type  to_clone 
)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::sort ( iterator  first,
iterator  last 
)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::sort ( )
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::sort ( iterator  first,
iterator  last,
Compare  comp 
)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::sort ( Compare  comp)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::transfer ( iterator  before,
BOOST_DEDUCED_TYPENAME PtrSeqAdapter::iterator  first,
BOOST_DEDUCED_TYPENAME PtrSeqAdapter::iterator  last,
PtrSeqAdapter &  from 
)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::transfer ( iterator  before,
BOOST_DEDUCED_TYPENAME PtrSeqAdapter::iterator  object,
PtrSeqAdapter &  from 
)
inlineinherited
BOOST_DEDUCED_TYPENAME boost::disable_if< boost::is_same< Range, BOOST_DEDUCED_TYPENAME PtrSeqAdapter::iterator > >::type boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::transfer ( iterator  before,
const Range &  r,
PtrSeqAdapter &  from 
)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::transfer ( iterator  before,
PtrSeqAdapter &  from 
)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::transfer ( iterator  before,
value_type from,
size_type  size,
bool  delete_from = true 
)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::unique ( iterator  first,
iterator  last 
)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::unique ( void  )
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::unique ( iterator  first,
iterator  last,
Compare  comp 
)
inlineinherited
void boost::ptr_sequence_adapter< T, ptr_container_detail::ptr_array_impl< void *, N > , CloneAllocator >::unique ( Compare  comp)
inlineinherited

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