![]() |
Home | Libraries | People | FAQ | More |
#include <adaptor.hpp>
Inherits boost::circular_buffer< T, Alloc >< T, Alloc >.
Public Types | |
| typedef circular_buffer< T, Alloc >::value_type | value_type |
| The type of the elements stored in the circular buffer. | |
| typedef circular_buffer< T, Alloc >::pointer | pointer |
| Pointer to the element. | |
| typedef circular_buffer< T, Alloc >::const_pointer | const_pointer |
| Const pointer to the element. | |
| typedef circular_buffer< T, Alloc >::reference | reference |
| Reference to the element. | |
| typedef circular_buffer< T, Alloc >::const_reference | const_reference |
| Const reference to the element. | |
| typedef circular_buffer< T, Alloc >::size_type | size_type |
| Size type. | |
| typedef circular_buffer< T, Alloc >::difference_type | difference_type |
| Distance type. | |
| typedef circular_buffer< T, Alloc >::allocator_type | allocator_type |
| The type of the allocator used in the circular buffer. | |
| typedef circular_buffer< T, Alloc >::const_iterator | const_iterator |
| Const (random access) iterator used to iterate through a circular buffer. | |
| typedef circular_buffer< T, Alloc >::iterator | iterator |
| Iterator (random access) used to iterate through a circular buffer. | |
| typedef circular_buffer< T, Alloc >::const_reverse_iterator | const_reverse_iterator |
| Const iterator used to iterate backwards through a circular buffer. | |
| typedef circular_buffer< T, Alloc >::reverse_iterator | reverse_iterator |
| Iterator used to iterate backwards through a circular buffer. | |
Public Member Functions | |
| reference | operator[] (size_type n) |
Return the element at the index position. | |
| return_value_type | operator[] (size_type n) const |
Return the element at the index position. | |
| bool | full () const |
| See the circular_buffer source documentation. | |
| size_type | min_capacity () const |
| Return the minimal guaranteed amount of allocated memory. | |
| void | set_min_capacity (size_type new_min_capacity) |
| Change the minimal guaranteed amount of allocated memory. | |
| size_type | capacity () const |
| See the circular_buffer source documentation. | |
| size_type | internal_capacity () const |
| Return the current capacity of the adapted circular buffer. | |
| void | set_capacity (size_type new_capacity, bool remove_front=true) |
| See the circular_buffer source documentation. | |
| void | resize (size_type new_size, param_value_type item=T(), bool remove_front=true) |
| See the circular_buffer source documentation. | |
| circular_buffer_space_optimized (size_type capacity, size_type min_capacity=0, const allocator_type &alloc=allocator_type()) | |
| Create an empty space optimized circular buffer with a given capacity. | |
| circular_buffer_space_optimized (size_type capacity, size_type min_capacity, param_value_type item, const allocator_type &alloc=allocator_type()) | |
Create a full space optimized circular buffer filled with copies of item. | |
| template<class InputIterator> | circular_buffer_space_optimized (size_type capacity, size_type min_capacity, InputIterator first, InputIterator last, const allocator_type &alloc=allocator_type()) |
| Create a space optimized circular buffer with a copy of a range. | |
| void | assign (size_type n, param_value_type item) |
| See the circular_buffer source documentation. | |
| template<class InputIterator> void | assign (InputIterator first, InputIterator last) |
| See the circular_buffer source documentation. | |
| void | swap (circular_buffer_space_optimized &cb) |
| See the circular_buffer source documentation. | |
| void | push_back (param_value_type item) |
| See the circular_buffer source documentation. | |
| void | push_back () |
| See the circular_buffer source documentation. | |
| void | push_front (param_value_type item) |
| See the circular_buffer source documentation. | |
| void | push_front () |
| See the circular_buffer source documentation. | |
| void | pop_back () |
| See the circular_buffer source documentation. | |
| void | pop_front () |
| See the circular_buffer source documentation. | |
| iterator | insert (iterator pos, param_value_type item) |
| See the circular_buffer source documentation. | |
| iterator | insert (iterator pos) |
| See the circular_buffer source documentation. | |
| void | insert (iterator pos, size_type n, param_value_type item) |
| See the circular_buffer source documentation. | |
| template<class InputIterator> void | insert (iterator pos, InputIterator first, InputIterator last) |
| See the circular_buffer source documentation. | |
| iterator | rinsert (iterator pos, param_value_type item) |
| See the circular_buffer source documentation. | |
| iterator | rinsert (iterator pos) |
| See the circular_buffer source documentation. | |
| void | rinsert (iterator pos, size_type n, param_value_type item) |
| See the circular_buffer source documentation. | |
| template<class InputIterator> void | rinsert (iterator pos, InputIterator first, InputIterator last) |
| See the circular_buffer source documentation. | |
| iterator | erase (iterator pos) |
| See the circular_buffer source documentation. | |
| iterator | erase (iterator first, iterator last) |
| See the circular_buffer source documentation. | |
| void | clear () |
| See the circular_buffer source documentation. | |
| T | The type of the elements stored in the space optimized circular buffer. |
| Alloc | The allocator type used for all internal memory management. |
|
|||||
|
The type of the allocator used in the circular buffer.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
|||||
|
Const (random access) iterator used to iterate through a circular buffer.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
|||||
|
Const pointer to the element.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
|||||
|
Const reference to the element.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
|||||
|
Const iterator used to iterate backwards through a circular buffer.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
|||||
|
Distance type. A signed integral type used to represent the distance between two iterators. Reimplemented from boost::circular_buffer< T, Alloc >. |
|
|||||
|
Iterator (random access) used to iterate through a circular buffer.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
|||||
|
Pointer to the element.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
|||||
|
Reference to the element.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
|||||
|
Iterator used to iterate backwards through a circular buffer.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
|||||
|
Size type. An unsigned integral type that can represent any nonnegative value of the container's distance type. Reimplemented from boost::circular_buffer< T, Alloc >. |
|
|||||
|
The type of the elements stored in the circular buffer.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
||||||||||||||||||||
|
Create an empty space optimized circular buffer with a given capacity.
|
|
||||||||||||||||||||||||
|
Create a full space optimized circular buffer filled with copies of
|
|
||||||||||||||||||||||||||||||||
|
Create a space optimized circular buffer with a copy of a range.
|
|
||||||||||||||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
||||||||||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
|||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
|||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
||||||||||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
||||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
|||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
||||||||||||||||||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
||||||||||||||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
||||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
||||||||||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
|||||||||
|
Return the current capacity of the adapted circular buffer.
|
|
|||||||||
|
Return the minimal guaranteed amount of allocated memory. The allocated memory will never drop under this value. |
|
||||||||||
|
Return the element at the
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
||||||||||
|
Return the element at the
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
|||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
|||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
|||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
||||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
|||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
||||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
||||||||||||||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
||||||||||||||||||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
||||||||||||||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
||||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
||||||||||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
||||||||||||||||
|
See the circular_buffer source documentation.
Reimplemented from boost::circular_buffer< T, Alloc >. |
|
||||||||||
|
Change the minimal guaranteed amount of allocated memory.
|
|
||||||||||
|
See the circular_buffer source documentation.
|
| Copyright © 2003-2004 Jan Gaspar | ![]() |
Generated by doxygen 1.3.5. |