sparrow 0.3.0
|
#include <union_array.hpp>
Public Types | |
using | self_type = union_array_crtp_base<DERIVED> |
using | derived_type = DERIVED |
using | inner_value_type = array_traits::inner_value_type |
using | value_type = array_traits::const_reference |
using | functor_type = detail::layout_bracket_functor<derived_type, value_type> |
using | const_functor_type = detail::layout_bracket_functor<const derived_type, value_type> |
using | iterator = functor_index_iterator<functor_type> |
using | const_iterator = functor_index_iterator<const_functor_type> |
using | const_reverse_iterator = std::reverse_iterator<const_iterator> |
using | size_type = std::size_t |
using | type_id_buffer_type = u8_buffer<std::uint8_t> |
Public Member Functions | |
std::optional< std::string_view > | name () const |
std::optional< std::string_view > | metadata () const |
value_type | at (size_type i) const |
value_type | operator[] (size_type i) const |
value_type | operator[] (size_type i) |
value_type | front () const |
value_type | back () const |
bool | empty () const |
size_type | size () const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
const_reverse_iterator | rbegin () const |
const_reverse_iterator | rend () const |
const_reverse_iterator | crbegin () const |
const_reverse_iterator | crend () const |
template<std::ranges::input_range R> | |
auto | type_id_map_from_child_to_type_id (R &&child_index_to_type_id) -> type_id_map |
Protected Types | |
using | type_id_map = std::array<std::uint8_t, 256> |
using | children_type = std::vector<cloning_ptr<array_wrapper>> |
![]() | |
using | derived_type |
Protected Member Functions | |
children_type | make_children (arrow_proxy &proxy) |
union_array_crtp_base (arrow_proxy proxy) | |
union_array_crtp_base (const self_type &rhs) | |
self_type & | operator= (const self_type &rhs) |
union_array_crtp_base (self_type &&rhs)=default | |
self_type & | operator= (self_type &&rhs)=default |
arrow_proxy & | get_arrow_proxy () |
const arrow_proxy & | get_arrow_proxy () const |
![]() | |
derived_type & | derived_cast () |
const derived_type & | derived_cast () const |
Static Protected Member Functions | |
static type_id_map | parse_type_id_map (std::string_view format_string) |
template<std::ranges::input_range R> | |
static type_id_map | type_id_map_from_child_to_type_id (R &&child_index_to_type_id) |
template<std::ranges::input_range R> requires (std::convertible_to<std::ranges::range_value_t<R>, std::uint8_t>) | |
static std::string | make_format_string (bool dense, std::size_t n, R &&child_index_to_type_id) |
Protected Attributes | |
arrow_proxy | m_proxy |
const std::uint8_t * | p_type_ids |
children_type | m_children |
std::array< std::uint8_t, 256 > | m_type_id_map |
Friends | |
class | detail::array_access |
Definition at line 73 of file union_array.hpp.
|
protected |
Definition at line 127 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::const_functor_type = detail::layout_bracket_functor<const derived_type, value_type> |
Definition at line 82 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::const_iterator = functor_index_iterator<const_functor_type> |
Definition at line 84 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::const_reverse_iterator = std::reverse_iterator<const_iterator> |
Definition at line 85 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::derived_type = DERIVED |
Definition at line 78 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::functor_type = detail::layout_bracket_functor<derived_type, value_type> |
Definition at line 81 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::inner_value_type = array_traits::inner_value_type |
Definition at line 79 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::iterator = functor_index_iterator<functor_type> |
Definition at line 83 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::self_type = union_array_crtp_base<DERIVED> |
Definition at line 77 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::size_type = std::size_t |
Definition at line 86 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::type_id_buffer_type = u8_buffer<std::uint8_t> |
Definition at line 88 of file union_array.hpp.
|
protected |
Definition at line 117 of file union_array.hpp.
using sparrow::union_array_crtp_base< DERIVED >::value_type = array_traits::const_reference |
Definition at line 80 of file union_array.hpp.
|
explicitprotected |
|
protected |
Definition at line 366 of file union_array.hpp.
|
protecteddefault |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
Definition at line 436 of file union_array.hpp.
|
nodiscard |
Definition at line 442 of file union_array.hpp.
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
Definition at line 472 of file union_array.hpp.
|
nodiscardprotected |
Definition at line 345 of file union_array.hpp.
|
nodiscardprotected |
Definition at line 351 of file union_array.hpp.
|
protected |
Definition at line 484 of file union_array.hpp.
|
staticprotected |
Definition at line 303 of file union_array.hpp.
|
nodiscard |
Definition at line 339 of file union_array.hpp.
|
nodiscard |
Definition at line 333 of file union_array.hpp.
|
protected |
|
protecteddefault |
|
nodiscard |
Definition at line 394 of file union_array.hpp.
|
nodiscard |
|
staticprotected |
|
nodiscard |
Definition at line 448 of file union_array.hpp.
|
nodiscard |
Definition at line 454 of file union_array.hpp.
|
nodiscard |
|
staticprotected |
auto sparrow::union_array_crtp_base< DERIVED >::type_id_map_from_child_to_type_id | ( | R && | child_index_to_type_id | ) | -> type_id_map |
Definition at line 278 of file union_array.hpp.
|
friend |
Definition at line 148 of file union_array.hpp.
|
protected |
Definition at line 143 of file union_array.hpp.
|
protected |
Definition at line 141 of file union_array.hpp.
|
protected |
Definition at line 146 of file union_array.hpp.
|
protected |
Definition at line 142 of file union_array.hpp.