|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
#include <GREM/core/data/RingBuffer.hpp>
Public Types | |
| using | value_type = T |
| using | allocator_type = Allocator |
| using | size_type = std::size_t |
| using | difference_type = std::ptrdiff_t |
| using | reference = T& |
| using | const_reference = const T& |
| using | pointer = typename std::allocator_traits<Allocator>::pointer |
| using | const_pointer = typename std::allocator_traits<Allocator>::const_pointer |
| using | iterator = detail::RingBufferIterator<T> |
| using | const_iterator = detail::RingBufferIterator<const T> |
| using | reverse_iterator = std::reverse_iterator<iterator> |
| using | const_reverse_iterator = std::reverse_iterator<const_iterator> |
Public Member Functions | |
| constexpr | RingBuffer ()=default |
| constexpr | RingBuffer (const Allocator &allocator) noexcept |
| constexpr | RingBuffer (size_type count, const T &value, const Allocator &allocator=Allocator()) |
| constexpr | RingBuffer (size_type count, const Allocator &allocator=Allocator()) |
| template<std::input_iterator InputIterator, std::sentinel_for< InputIterator > Sentinel> | |
| constexpr | RingBuffer (InputIterator first, Sentinel last, const Allocator &allocator=Allocator()) |
| constexpr | RingBuffer (const RingBuffer &other) |
| constexpr | RingBuffer (const RingBuffer &other, const Allocator &allocator) |
| constexpr | RingBuffer (RingBuffer &&other) noexcept |
| constexpr | RingBuffer (RingBuffer &&other, const Allocator &allocator) |
| constexpr | RingBuffer (std::initializer_list< T > ilist, const Allocator &allocator=Allocator()) |
| constexpr | ~RingBuffer () |
| constexpr RingBuffer & | operator= (const RingBuffer &other) |
| constexpr RingBuffer & | operator= (RingBuffer &&other) noexcept(std::allocator_traits< Allocator >::is_always_equal::value) |
| constexpr RingBuffer & | operator= (std::initializer_list< T > ilist) |
| constexpr void | assign (size_type count, const T &value) |
| template<std::input_iterator InputIterator, std::sentinel_for< InputIterator > Sentinel> | |
| constexpr void | assign (InputIterator first, Sentinel last) |
| constexpr void | assign (std::initializer_list< T > ilist) |
| template<typename R> | |
| constexpr void | assign_range (R &&r) |
| constexpr allocator_type | get_allocator () const noexcept |
| constexpr reference | at (size_type pos) |
| constexpr const_reference | at (size_type pos) const |
| constexpr reference | operator[] (size_type pos) |
| constexpr const_reference | operator[] (size_type pos) const |
| constexpr reference | front () |
| constexpr const_reference | front () const |
| constexpr reference | back () |
| constexpr const_reference | back () const |
| constexpr iterator | begin () noexcept |
| constexpr const_iterator | begin () const noexcept |
| constexpr const_iterator | cbegin () const noexcept |
| constexpr iterator | end () noexcept |
| constexpr const_iterator | end () const noexcept |
| constexpr const_iterator | cend () const noexcept |
| constexpr reverse_iterator | rbegin () noexcept |
| constexpr const_reverse_iterator | rbegin () const noexcept |
| constexpr const_reverse_iterator | crbegin () const noexcept |
| constexpr reverse_iterator | rend () noexcept |
| constexpr const_reverse_iterator | rend () const noexcept |
| constexpr const_reverse_iterator | crend () const noexcept |
| constexpr bool | empty () const noexcept |
| constexpr size_type | size () const noexcept |
| constexpr size_type | max_size () const noexcept |
| constexpr void | reserve (size_type newCapacity) |
| constexpr size_type | capacity () const noexcept |
| constexpr void | shrink_to_fit () |
| constexpr void | clear () noexcept |
| constexpr iterator | insert (const_iterator pos, const T &value) |
| constexpr iterator | insert (const_iterator pos, T &&value) |
| constexpr iterator | insert (const_iterator pos, size_type count, const T &value) |
| template<std::input_iterator InputIterator, std::sentinel_for< InputIterator > Sentinel> | |
| constexpr iterator | insert (const_iterator pos, InputIterator first, Sentinel last) |
| constexpr iterator | insert (const_iterator pos, std::initializer_list< T > ilist) |
| template<typename R> | |
| constexpr iterator | insert_range (const_iterator pos, R &&r) |
| template<typename R> | |
| constexpr void | append_range (R &&r) |
| constexpr iterator | insert_unspecified_value (const_iterator pos) |
| constexpr iterator | insert_unspecified_value (const_iterator pos, size_type count) |
| constexpr iterator | erase (const_iterator pos) |
| constexpr iterator | erase (const_iterator first, const_iterator last) |
| constexpr reference | push_back_and_overwrite (auto overwrite) |
| constexpr reference | push_back_unspecified_value () |
| constexpr void | push_back (const T &value) |
| constexpr void | push_back (T &&value) |
| constexpr void | pop_back () |
| constexpr reference | push_front_and_overwrite (auto overwrite) |
| constexpr reference | push_front_unspecified_value () |
| constexpr void | push_front (const T &value) |
| constexpr void | push_front (T &&value) |
| constexpr void | pop_front () |
| constexpr void | resize (size_type count) |
| constexpr void | resize (size_type count, const T &value) |
| constexpr void | resize_and_overwrite_added_values (size_type count, auto overwrite) |
| constexpr void | swap (RingBuffer &other) noexcept(std::allocator_traits< Allocator >::is_always_equal::value) |
| constexpr bool | operator== (const RingBuffer &other) const |
| constexpr bool | operator< (const RingBuffer &other) const |
| constexpr bool | operator<= (const RingBuffer &other) const |
| constexpr bool | operator> (const RingBuffer &other) const |
| constexpr bool | operator>= (const RingBuffer &other) const |
Friends | |
| constexpr void | swap (RingBuffer &a, RingBuffer &b) noexcept(noexcept(a.swap(b))) |
| template<typename U> | |
| constexpr size_type | erase (RingBuffer &c, const U &value) |
| template<typename Predicate> | |
| constexpr size_type | erase_if (RingBuffer &c, Predicate predicate) |
| using grem::RingBuffer< T, Allocator >::value_type = T |
| using grem::RingBuffer< T, Allocator >::allocator_type = Allocator |
| using grem::RingBuffer< T, Allocator >::size_type = std::size_t |
| using grem::RingBuffer< T, Allocator >::difference_type = std::ptrdiff_t |
| using grem::RingBuffer< T, Allocator >::reference = T& |
| using grem::RingBuffer< T, Allocator >::const_reference = const T& |
| using grem::RingBuffer< T, Allocator >::pointer = typename std::allocator_traits<Allocator>::pointer |
| using grem::RingBuffer< T, Allocator >::const_pointer = typename std::allocator_traits<Allocator>::const_pointer |
| using grem::RingBuffer< T, Allocator >::iterator = detail::RingBufferIterator<T> |
| using grem::RingBuffer< T, Allocator >::const_iterator = detail::RingBufferIterator<const T> |
| using grem::RingBuffer< T, Allocator >::reverse_iterator = std::reverse_iterator<iterator> |
| using grem::RingBuffer< T, Allocator >::const_reverse_iterator = std::reverse_iterator<const_iterator> |
|
constexprdefault |
|
inlineexplicitconstexprnoexcept |
|
inlineconstexpr |
|
inlineexplicitconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscardconstexpr |
|
inlinenodiscardconstexpr |
|
inlinenodiscardconstexpr |
|
inlinenodiscardconstexpr |
|
inlinenodiscardconstexpr |
|
inlinenodiscardconstexpr |
|
inlinenodiscardconstexpr |
|
inlinenodiscardconstexpr |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscardconstexprnoexcept |
|
inlineconstexpr |
|
inlinenodiscardconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlinenodiscardconstexpr |
|
inlinenodiscardconstexpr |
|
inlinenodiscardconstexpr |
|
inlinenodiscardconstexpr |
|
inlinenodiscardconstexpr |
|
friend |
|
friend |
|
friend |