#include <ptr_circular_buffer.hpp>
Public Types | |
typedef base_type::value_type | value_type |
typedef value_type * | pointer |
typedef const value_type * | const_pointer |
typedef base_type::size_type | size_type |
typedef base_type::allocator_type | allocator_type |
typedef base_type::iterator | iterator |
typedef base_type::const_iterator | const_iterator |
typedef base_type::auto_type | auto_type |
typedef std::pair< pointer, size_type > | array_range |
typedef std::pair < const_pointer, size_type > | const_array_range |
typedef circular_buffer_type::capacity_type | capacity_type |
typedef BOOST_DEDUCED_TYPENAME base_type::reference | reference |
typedef BOOST_DEDUCED_TYPENAME base_type::const_reference | const_reference |
typedef BOOST_DEDUCED_TYPENAME base_type::clone_allocator_type | clone_allocator_type |
Public Member Functions | |
ptr_circular_buffer () | |
ptr_circular_buffer (capacity_type n) | |
ptr_circular_buffer (capacity_type n, const allocator_type &alloc) | |
template<class ForwardIterator > | |
ptr_circular_buffer (ForwardIterator first, ForwardIterator last) | |
template<class InputIterator > | |
ptr_circular_buffer (capacity_type n, InputIterator first, InputIterator last) | |
ptr_circular_buffer (const ptr_circular_buffer &r) | |
template<class U > | |
ptr_circular_buffer (const ptr_circular_buffer< U > &r) | |
ptr_circular_buffer & | operator= (ptr_circular_buffer r) |
BOOST_PTR_CONTAINER_DEFINE_RELEASE_AND_CLONE (ptr_circular_buffer, base_type, this_type) public | |
allocator_type | get_allocator () const |
array_range | array_one () |
const_array_range | array_one () const |
array_range | array_two () |
const_array_range | array_two () const |
pointer | linearize () |
bool | full () const |
size_type | reserve () const |
void | reserve (size_type n) |
capacity_type | capacity () const |
void | set_capacity (capacity_type new_capacity) |
void | rset_capacity (capacity_type new_capacity) |
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) |
template<class InputIterator > | |
void | assign (InputIterator first, InputIterator last) |
template<class Range > | |
void | assign (const Range &r) |
void | assign (size_type n, value_type to_clone) |
void | assign (capacity_type capacity, size_type n, value_type to_clone) |
template<class InputIterator > | |
void | assign (capacity_type capacity, InputIterator first, InputIterator last) |
void | push_back (value_type ptr) |
template<class U > | |
void | push_back (std::auto_ptr< U > ptr) |
void | push_front (value_type ptr) |
template<class U > | |
void | push_front (std::auto_ptr< U > ptr) |
iterator | insert (iterator pos, value_type ptr) |
template<class U > | |
iterator | insert (iterator pos, std::auto_ptr< U > ptr) |
template<class InputIterator > | |
void | insert (iterator pos, InputIterator first, InputIterator last) |
template<class Range > | |
BOOST_DEDUCED_TYPENAME boost::disable_if < ptr_container_detail::is_pointer_or_integral < Range > >::type | insert (iterator before, const Range &r) |
iterator | rinsert (iterator pos, value_type ptr) |
template<class U > | |
iterator | rinsert (iterator pos, std::auto_ptr< U > ptr) |
template<class InputIterator > | |
void | rinsert (iterator pos, InputIterator first, InputIterator last) |
template<class Range > | |
BOOST_DEDUCED_TYPENAME boost::disable_if < ptr_container_detail::is_pointer_or_integral < Range > >::type | rinsert (iterator before, const Range &r) |
iterator | rerase (iterator pos) |
iterator | rerase (iterator first, iterator last) |
template<class Range > | |
iterator | rerase (const Range &r) |
void | rotate (const_iterator new_begin) |
template<class PtrSeqAdapter > | |
void | transfer (iterator before, BOOST_DEDUCED_TYPENAME PtrSeqAdapter::iterator first, BOOST_DEDUCED_TYPENAME PtrSeqAdapter::iterator last, PtrSeqAdapter &from) |
template<class PtrSeqAdapter > | |
void | transfer (iterator before, BOOST_DEDUCED_TYPENAME PtrSeqAdapter::iterator object, PtrSeqAdapter &from) |
template<class PtrSeqAdapter , class Range > | |
BOOST_DEDUCED_TYPENAME boost::disable_if < boost::is_same< Range, BOOST_DEDUCED_TYPENAME PtrSeqAdapter::iterator > >::type | transfer (iterator before, const Range &r, PtrSeqAdapter &from) |
template<class PtrSeqAdapter > | |
void | transfer (iterator before, PtrSeqAdapter &from) |
void | transfer (iterator before, value_type *from, size_type size, bool delete_from=true) |
value_type * | c_array () |
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 |
void | reverse () |
bool | is_null (size_type idx) const |
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 |
typedef base_type::allocator_type boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::allocator_type |
typedef std::pair<pointer,size_type> boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::array_range |
typedef base_type::auto_type boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::auto_type |
typedef circular_buffer_type::capacity_type boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::capacity_type |
|
inherited |
typedef std::pair<const_pointer,size_type> boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::const_array_range |
typedef base_type::const_iterator boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::const_iterator |
typedef const value_type* boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::const_pointer |
|
inherited |
typedef base_type::iterator boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::iterator |
typedef value_type* boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::pointer |
|
inherited |
|
protectedinherited |
typedef base_type::size_type boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::size_type |
typedef base_type::value_type boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::value_type |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References boost::swap.
Referenced by boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::assign().
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
References BOOST_ASSERT, boost::empty(), boost::end, and boost::is_null().
Referenced by boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::rinsert().
|
inlineinherited |
|
inline |
|
inline |
|
inline |
Referenced by boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::insert(), boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::push_back(), boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::push_front(), boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::reserve(), and boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::rinsert().
|
inlineinherited |
References boost::fusion::remove_if().
|
inlineinherited |
|
inlineinherited |
References boost::asio::begin, BOOST_ASSERT, boost::empty(), and boost::is_null().
|
inlineinherited |
|
inline |
Referenced by boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::insert(), boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::push_back(), boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::push_front(), and boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::rinsert().
|
inline |
|
inline |
References boost::asio::b, boost::asio::begin, BOOST_ASSERT, boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::capacity(), boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::full(), and boost::python::ptr().
Referenced by boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::insert(), and boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::transfer().
|
inline |
|
inline |
|
inline |
|
inlineinherited |
References BOOST_ASSERT, and boost::size().
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
References boost::swap.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
References boost::asio::begin, BOOST_ASSERT, boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::capacity(), and boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::full().
Referenced by boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::assign(), boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::push_back(), and boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::resize().
|
inline |
|
inline |
References BOOST_ASSERT, boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::capacity(), boost::end, and boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::full().
Referenced by boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::push_front(), and boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::rresize().
|
inline |
|
inline |
References BOOST_ASSERT, boost::empty(), and boost::end.
Referenced by boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::rerase().
|
inline |
|
inline |
|
inline |
Referenced by boost::serialization::load().
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inline |
References boost::asio::b, boost::ptr_sequence_adapter< T, boost::circular_buffer< void *, Allocator >, CloneAllocator >::back(), BOOST_ASSERT, boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::capacity(), boost::end, boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::full(), and boost::python::ptr().
Referenced by boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::rinsert().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References boost::asio::begin, boost::fusion::erase(), and boost::size().
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
References boost::asio::begin, BOOST_ASSERT, and boost::end.
|
inlineinherited |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
References BOOST_ASSERT, boost::xpressive::first, boost::is_null(), boost::last, and boost::next().
|
inlineinherited |