neoGFX
Cross-platform C++ app/game engine
|
#include <plf_hive.h>
Classes | |
class | hive_iterator |
class | hive_reverse_iterator |
Public Types | |
typedef element_type | value_type |
typedef std::allocator_traits< allocator_type >::size_type | size_type |
typedef std::allocator_traits< allocator_type >::difference_type | difference_type |
typedef element_type & | reference |
typedef const element_type & | const_reference |
typedef std::allocator_traits< allocator_type >::pointer | pointer |
typedef std::allocator_traits< allocator_type >::const_pointer | const_pointer |
typedef hive_iterator< false > | iterator |
typedef hive_iterator< true > | const_iterator |
typedef hive_reverse_iterator< false > | reverse_iterator |
typedef hive_reverse_iterator< true > | const_reverse_iterator |
Public Member Functions | |
hive (const allocator_type &alloc) noexcept | |
constexpr | hive () noexcept(noexcept(allocator_type())) |
hive (const hive_limits block_limits, const allocator_type &alloc) | |
hive (const hive_limits block_limits) | |
hive (const hive &source, const std::type_identity_t< allocator_type > &alloc) | |
hive (const hive &source) | |
hive (hive &&source, const std::type_identity_t< allocator_type > &alloc) | |
hive (hive &&source) noexcept | |
hive (const size_type fill_number, const element_type &element, const hive_limits block_limits, const allocator_type &alloc=allocator_type()) | |
hive (const size_type fill_number, const element_type &element, const allocator_type &alloc=allocator_type()) | |
hive (const size_type fill_number, const hive_limits block_limits, const allocator_type &alloc=allocator_type()) | |
hive (const size_type fill_number, const allocator_type &alloc=allocator_type()) | |
template<typename iterator_type > | |
hive (const typename std::enable_if_t<!std::numeric_limits< iterator_type >::is_integer, iterator_type > &first, const iterator_type &last, const hive_limits block_limits, const allocator_type &alloc=allocator_type()) | |
template<typename iterator_type > | |
hive (const typename std::enable_if_t<!std::numeric_limits< iterator_type >::is_integer, iterator_type > &first, const iterator_type &last, const allocator_type &alloc=allocator_type()) | |
hive (const std::initializer_list< element_type > &element_list, const hive_limits block_limits, const allocator_type &alloc=allocator_type()) | |
hive (const std::initializer_list< element_type > &element_list, const allocator_type &alloc=allocator_type()) | |
template<class range_type > requires std::ranges::range<range_type> | |
hive (plf::ranges::from_range_t, range_type &&rg, const hive_limits block_limits, const allocator_type &alloc=allocator_type()) | |
template<class range_type > requires std::ranges::range<range_type> | |
hive (plf::ranges::from_range_t, range_type &&rg, const allocator_type &alloc=allocator_type()) | |
iterator | begin () noexcept |
const_iterator | begin () const noexcept |
iterator | end () noexcept |
const_iterator | end () const noexcept |
const_iterator | cbegin () const noexcept |
const_iterator | cend () const noexcept |
reverse_iterator | rbegin () noexcept |
const_reverse_iterator | rbegin () const noexcept |
reverse_iterator | rend () noexcept |
const_reverse_iterator | rend () const noexcept |
const_reverse_iterator | crbegin () const noexcept |
const_reverse_iterator | crend () const noexcept |
~hive () noexcept | |
iterator | insert (const element_type &element) |
iterator | insert (element_type &&element) |
template<typename... arguments> | |
iterator | emplace (arguments &&... parameters) |
void | insert (size_type size, const element_type &element) |
template<class iterator_type > | |
void | insert (const typename std::enable_if_t<!std::numeric_limits< iterator_type >::is_integer, iterator_type > first, const iterator_type last) |
template<class iterator_type > | |
void | insert (const std::move_iterator< iterator_type > first, const std::move_iterator< iterator_type > last) |
void | insert (const std::initializer_list< element_type > &element_list) |
template<class range_type > requires std::ranges::range<range_type> | |
void | insert_range (range_type &&the_range) |
iterator | erase (const const_iterator it) |
iterator | erase (const const_iterator iterator1, const const_iterator iterator2) |
void | assign (const size_type size, const element_type &element) |
template<class iterator_type > | |
void | assign (const typename std::enable_if_t<!std::numeric_limits< iterator_type >::is_integer, iterator_type > first, const iterator_type last) |
template<class iterator_type > | |
void | assign (const std::move_iterator< iterator_type > first, const std::move_iterator< iterator_type > last) |
void | assign (const std::initializer_list< element_type > &element_list) |
template<class range_type > requires std::ranges::range<range_type> | |
void | assign_range (range_type &&the_range) |
bool | empty () const noexcept |
size_type | size () const noexcept |
size_type | max_size () const noexcept |
size_type | capacity () const noexcept |
void | reshape (const hive_limits block_limits) |
hive_limits | block_capacity_limits () const noexcept |
void | clear () noexcept |
hive & | operator= (const hive &source) |
hive & | operator= (hive &&source) noexcept(std::allocator_traits< allocator_type >::propagate_on_container_move_assignment::value||std::allocator_traits< allocator_type >::is_always_equal::value) |
hive & | operator= (const std::initializer_list< element_type > &element_list) |
void | shrink_to_fit () |
void | trim_capacity () noexcept |
void | trim_capacity (const size_type capacity_retain) noexcept |
void | reserve (size_type new_capacity) |
iterator | get_iterator (const pointer element_pointer) noexcept |
const_iterator | get_iterator (const const_pointer element_pointer) const noexcept |
bool | is_active (const const_iterator &it) const noexcept |
allocator_type | get_allocator () const noexcept |
void | splice (hive &&source) |
void | splice (hive &source) |
template<class comparison_function > | |
void | sort (comparison_function compare) |
void | sort () |
template<class comparison_function > | |
size_type | unique (comparison_function compare) |
size_type | unique () |
void | swap (hive &source) noexcept(std::allocator_traits< allocator_type >::propagate_on_container_swap::value||std::allocator_traits< allocator_type >::is_always_equal::value) |
Static Public Member Functions | |
static constexpr hive_limits | block_capacity_hard_limits () noexcept |
static constexpr size_type | max_block_capacity_per_allocation (const size_type allocation_amount) noexcept |
Public Attributes | |
friend | iterator |
friend | const_iterator |
friend | reverse_iterator |
friend | const_reverse_iterator |
Definition at line 128 of file plf_hive.h.
typedef hive_iterator<true> plf::hive< element_type, allocator_type >::const_iterator |
Definition at line 145 of file plf_hive.h.
typedef std::allocator_traits<allocator_type>::const_pointer plf::hive< element_type, allocator_type >::const_pointer |
Definition at line 140 of file plf_hive.h.
typedef const element_type& plf::hive< element_type, allocator_type >::const_reference |
Definition at line 138 of file plf_hive.h.
typedef hive_reverse_iterator<true> plf::hive< element_type, allocator_type >::const_reverse_iterator |
Definition at line 151 of file plf_hive.h.
typedef std::allocator_traits<allocator_type>::difference_type plf::hive< element_type, allocator_type >::difference_type |
Definition at line 136 of file plf_hive.h.
typedef hive_iterator<false> plf::hive< element_type, allocator_type >::iterator |
Definition at line 144 of file plf_hive.h.
typedef std::allocator_traits<allocator_type>::pointer plf::hive< element_type, allocator_type >::pointer |
Definition at line 139 of file plf_hive.h.
typedef element_type& plf::hive< element_type, allocator_type >::reference |
Definition at line 137 of file plf_hive.h.
typedef hive_reverse_iterator<false> plf::hive< element_type, allocator_type >::reverse_iterator |
Definition at line 150 of file plf_hive.h.
typedef std::allocator_traits<allocator_type>::size_type plf::hive< element_type, allocator_type >::size_type |
Definition at line 135 of file plf_hive.h.
typedef element_type plf::hive< element_type, allocator_type >::value_type |
Definition at line 134 of file plf_hive.h.
|
inlineexplicitnoexcept |
Definition at line 354 of file plf_hive.h.
|
inlineconstexprnoexcept |
Definition at line 370 of file plf_hive.h.
|
inline |
Definition at line 376 of file plf_hive.h.
|
inlineexplicit |
Definition at line 394 of file plf_hive.h.
|
inline |
Definition at line 402 of file plf_hive.h.
|
inline |
Definition at line 421 of file plf_hive.h.
|
inline |
Definition at line 429 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 450 of file plf_hive.h.
|
inline |
Definition at line 473 of file plf_hive.h.
|
inline |
Definition at line 491 of file plf_hive.h.
|
inline |
Definition at line 499 of file plf_hive.h.
|
inline |
Definition at line 518 of file plf_hive.h.
|
inline |
Definition at line 527 of file plf_hive.h.
|
inline |
Definition at line 547 of file plf_hive.h.
|
inline |
Definition at line 555 of file plf_hive.h.
|
inline |
Definition at line 574 of file plf_hive.h.
|
inline |
Definition at line 584 of file plf_hive.h.
|
inline |
Definition at line 605 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 697 of file plf_hive.h.
|
inline |
Definition at line 2517 of file plf_hive.h.
|
inline |
Definition at line 2575 of file plf_hive.h.
|
inline |
Definition at line 2566 of file plf_hive.h.
|
inline |
Definition at line 2556 of file plf_hive.h.
|
inline |
Definition at line 2584 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 620 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 613 of file plf_hive.h.
|
inlinestaticconstexprnoexcept |
Definition at line 2721 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 2714 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 2612 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 641 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 648 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 2760 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 683 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 690 of file plf_hive.h.
|
inline |
Definition at line 1168 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 2591 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 634 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 627 of file plf_hive.h.
|
inline |
Definition at line 1890 of file plf_hive.h.
|
inline |
Definition at line 2098 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 3135 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 3110 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 3103 of file plf_hive.h.
|
inline |
Definition at line 938 of file plf_hive.h.
|
inline |
Definition at line 1830 of file plf_hive.h.
|
inline |
Definition at line 1821 of file plf_hive.h.
|
inline |
Definition at line 1811 of file plf_hive.h.
|
inline |
Definition at line 1053 of file plf_hive.h.
|
inline |
Definition at line 1459 of file plf_hive.h.
|
inline |
Definition at line 1839 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 3117 of file plf_hive.h.
|
inlinestaticconstexprnoexcept |
Definition at line 2728 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 2605 of file plf_hive.h.
|
inline |
Definition at line 2790 of file plf_hive.h.
|
inline |
Definition at line 2864 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 2818 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 662 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 655 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 676 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 669 of file plf_hive.h.
|
inline |
Definition at line 2986 of file plf_hive.h.
|
inline |
Definition at line 2644 of file plf_hive.h.
|
inline |
Definition at line 2872 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 2598 of file plf_hive.h.
|
inline |
Definition at line 3461 of file plf_hive.h.
|
inline |
Definition at line 3375 of file plf_hive.h.
|
inline |
Definition at line 3142 of file plf_hive.h.
|
inline |
Definition at line 3333 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 3520 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 2889 of file plf_hive.h.
|
inlinenoexcept |
Definition at line 2913 of file plf_hive.h.
|
inline |
Definition at line 3513 of file plf_hive.h.
|
inline |
Definition at line 3469 of file plf_hive.h.
friend plf::hive< element_type, allocator_type >::const_iterator |
Definition at line 147 of file plf_hive.h.
friend plf::hive< element_type, allocator_type >::const_reverse_iterator |
Definition at line 153 of file plf_hive.h.
friend plf::hive< element_type, allocator_type >::iterator |
Definition at line 146 of file plf_hive.h.
friend plf::hive< element_type, allocator_type >::reverse_iterator |
Definition at line 152 of file plf_hive.h.