|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
JSON array type whose API mimics that of std::vector<Value>. More...
#include <GREM/core/formats/json.hpp>
Public Types | |
| using | value_type = ValueBase<Allocator> |
| using | size_type = typename ArrayList<value_type>::size_type |
| using | difference_type = typename ArrayList<value_type>::difference_type |
| using | allocator_type = Allocator<value_type> |
| using | reference = typename ArrayList<value_type>::reference |
| using | const_reference = typename ArrayList<value_type>::const_reference |
| using | pointer = typename ArrayList<value_type>::pointer |
| using | const_pointer = typename ArrayList<value_type>::const_pointer |
| using | iterator = typename ArrayList<value_type>::iterator |
| using | const_iterator = typename ArrayList<value_type>::const_iterator |
| using | reverse_iterator = typename ArrayList<value_type>::reverse_iterator |
| using | const_reverse_iterator = typename ArrayList<value_type>::const_reverse_iterator |
Public Member Functions | |
| ArrayBase () noexcept | |
| ArrayBase (const allocator_type &allocator) noexcept | |
| ~ArrayBase () | |
| template<input_iterator InputIterator, sentinel_for< InputIterator > Sentinel> | |
| ArrayBase (InputIterator first, Sentinel last, const allocator_type &allocator=allocator_type()) | |
| ArrayBase (size_type count, const value_type &value, const allocator_type &allocator=allocator_type()) | |
| ArrayBase (std::initializer_list< value_type > ilist, const allocator_type &allocator=allocator_type()) | |
| ArrayBase (const ArrayBase &other, const allocator_type &allocator) | |
| ArrayBase (const ArrayBase &other) | |
| ArrayBase (ArrayBase &&other, const allocator_type &allocator) noexcept | |
| ArrayBase (ArrayBase &&other) noexcept | |
| ArrayBase & | operator= (const ArrayBase &other) |
| ArrayBase & | operator= (ArrayBase &&other) noexcept(std::allocator_traits< allocator_type >::propagate_on_container_move_assignment::value||//NOLINT(cppcoreguidelines-noexcept-move-operations, performance-noexcept-move-constructor) std::allocator_traits< allocator_type >::is_always_equal::value) |
| ArrayBase & | operator= (std::initializer_list< value_type > ilist) |
| void | swap (ArrayBase &other) noexcept |
| allocator_type | get_allocator () const noexcept |
| pointer | data () noexcept |
| const_pointer | data () const noexcept |
| size_type | size () const noexcept |
| size_type | max_size () const noexcept |
| size_type | capacity () const noexcept |
| bool | empty () const noexcept |
| iterator | begin () noexcept |
| const_iterator | begin () const noexcept |
| const_iterator | cbegin () const noexcept |
| iterator | end () noexcept |
| const_iterator | end () const noexcept |
| const_iterator | cend () const noexcept |
| reverse_iterator | rbegin () noexcept |
| const_reverse_iterator | rbegin () const noexcept |
| const_reverse_iterator | crbegin () const noexcept |
| reverse_iterator | rend () noexcept |
| const_reverse_iterator | rend () const noexcept |
| const_reverse_iterator | crend () const noexcept |
| reference | front () |
| const_reference | front () const |
| reference | back () |
| const_reference | back () const |
| reference | at (size_type pos) |
| const_reference | at (size_type pos) const |
| reference | operator[] (size_type pos) |
| const_reference | operator[] (size_type pos) const |
| bool | operator== (const ArrayBase &other) const |
| std::partial_ordering | operator<=> (const ArrayBase &other) const noexcept |
| void | clear () noexcept |
| void | reserve (size_type newCapacity) |
| void | shrink_to_fit () |
| void | assign (size_type count, const value_type &value) |
| template<input_iterator InputIterator, sentinel_for< InputIterator > Sentinel> | |
| void | assign (InputIterator first, Sentinel last) |
| void | assign (std::initializer_list< value_type > ilist) |
| template<typename R> | |
| void | assign_range (R &&r) |
| iterator | insert (const_iterator pos, const value_type &value) |
| iterator | insert (const_iterator pos, value_type &&value) |
| iterator | insert (const_iterator pos, size_type count, const value_type &value) |
| template<input_iterator InputIterator, sentinel_for< InputIterator > Sentinel> | |
| iterator | insert (const_iterator pos, InputIterator first, Sentinel last) |
| iterator | insert (const_iterator pos, std::initializer_list< value_type > ilist) |
| template<typename R> | |
| iterator | insert_range (const_iterator pos, R &&r) |
| template<typename R> | |
| void | append_range (R &&r) |
| template<typename... Args> | |
| iterator | emplace (const_iterator pos, Args &&... args) |
| iterator | erase (const_iterator pos) |
| iterator | erase (const_iterator first, const_iterator last) |
| void | push_back (const value_type &value) |
| void | push_back (value_type &&value) |
| template<typename... Args> | |
| reference | emplace_back (Args &&... args) |
| void | pop_back () |
| void | resize (size_type count) |
| void | resize (size_type count, const value_type &value) |
Friends | |
| template<typename U> | |
| size_type | erase (ArrayBase &container, const U &value) |
| template<typename Predicate> | |
| size_type | erase_if (ArrayBase &container, Predicate predicate) |
JSON array type whose API mimics that of std::vector<Value>.
| Allocator | allocator type template to use. |
| using grem::json::ArrayBase< Allocator >::value_type = ValueBase<Allocator> |
| using grem::json::ArrayBase< Allocator >::size_type = typename ArrayList<value_type>::size_type |
| using grem::json::ArrayBase< Allocator >::difference_type = typename ArrayList<value_type>::difference_type |
| using grem::json::ArrayBase< Allocator >::allocator_type = Allocator<value_type> |
| using grem::json::ArrayBase< Allocator >::reference = typename ArrayList<value_type>::reference |
| using grem::json::ArrayBase< Allocator >::const_reference = typename ArrayList<value_type>::const_reference |
| using grem::json::ArrayBase< Allocator >::pointer = typename ArrayList<value_type>::pointer |
| using grem::json::ArrayBase< Allocator >::const_pointer = typename ArrayList<value_type>::const_pointer |
| using grem::json::ArrayBase< Allocator >::iterator = typename ArrayList<value_type>::iterator |
| using grem::json::ArrayBase< Allocator >::const_iterator = typename ArrayList<value_type>::const_iterator |
| using grem::json::ArrayBase< Allocator >::reverse_iterator = typename ArrayList<value_type>::reverse_iterator |
| using grem::json::ArrayBase< Allocator >::const_reverse_iterator = typename ArrayList<value_type>::const_reverse_iterator |
|
inlinenoexcept |
|
inlineexplicitnoexcept |
|
inlinedefault |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinedefault |
|
inlinedefaultnoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscardnoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |