sparrow 0.6.0
Loading...
Searching...
No Matches
sparrow::details::primitive_data_access< bool > Class Reference

#include <primitive_data_access.hpp>

Public Types

using bitset_view = dynamic_bitset_view<std::uint8_t>
 
using inner_value_type = typename bitset_view::value_type
 
using inner_reference = typename bitset_view::reference
 
using inner_const_reference = typename bitset_view::const_reference
 
using inner_pointer = inner_value_type*
 
using inner_const_pointer = const inner_value_type*
 
using value_iterator = typename bitset_view::iterator
 
using const_value_iterator = typename bitset_view::const_iterator
 
using inner_value_type
 
using inner_reference
 
using inner_const_reference
 
using inner_pointer
 
using inner_const_pointer
 
using value_iterator
 
using const_value_iterator
 

Public Member Functions

 primitive_data_access (arrow_proxy &proxy, size_t data_buffer_index)
 
 primitive_data_access (const primitive_data_access &)=delete
 
primitive_data_accessoperator= (const primitive_data_access &)=delete
 
 primitive_data_access (primitive_data_access &&)=delete
 
primitive_data_accessoperator= (primitive_data_access &&)=delete
 
inner_reference value (size_t i)
 
inner_const_reference value (size_t i) const
 
value_iterator value_begin ()
 
value_iterator value_end ()
 
const_value_iterator value_cbegin () const
 
const_value_iterator value_cend () const
 
void resize_values (size_t new_length, bool value)
 
value_iterator insert_value (const_value_iterator pos, bool value, size_t count)
 
value_iterator insert_value (size_t idx, bool value, size_t count)
 
template<mpl::iterator_of_type< bool > InputIt>
constexpr value_iterator insert_values (const_value_iterator pos, InputIt first, InputIt last)
 
template<mpl::iterator_of_type< bool > InputIt>
constexpr value_iterator insert_values (size_t idx, InputIt first, InputIt last)
 
value_iterator erase_values (const_value_iterator pos, size_t count)
 
value_iterator erase_values (size_t idx, size_t count)
 
void reset_proxy (arrow_proxy &proxy)
 
constexpr auto insert_values (const_value_iterator pos, InputIt first, InputIt last) -> value_iterator
 
constexpr auto insert_values (size_t idx, InputIt first, InputIt last) -> value_iterator
 
template<mpl::iterator_of_type< bool > InputIt>
constexpr auto insert_values (const_value_iterator pos, InputIt first, InputIt last) -> value_iterator
 
template<mpl::iterator_of_type< bool > InputIt>
constexpr auto insert_values (size_t idx, InputIt first, InputIt last) -> value_iterator
 
 primitive_data_access (arrow_proxy &proxy, size_t data_buffer_index)
 Constructor for primitive_data_access.
 
 primitive_data_access (const primitive_data_access &)=delete
 
 primitive_data_access (primitive_data_access &&)=delete
 
primitive_data_accessoperator= (const primitive_data_access &)=delete
 
primitive_data_accessoperator= (primitive_data_access &&)=delete
 
constexpr inner_pointer data ()
 
constexpr inner_const_pointer data () const
 
constexpr inner_reference value (size_t i)
 
constexpr inner_const_reference value (size_t i) const
 
constexpr value_iterator value_begin ()
 
constexpr value_iterator value_end ()
 
constexpr const_value_iterator value_cbegin () const
 
constexpr const_value_iterator value_cend () const
 
constexpr void resize_values (size_t new_length, const T &value)
 
constexpr value_iterator insert_value (const_value_iterator pos, T value, size_t count)
 
constexpr value_iterator insert_value (size_t idx, T value, size_t count)
 
constexpr value_iterator insert_values (const_value_iterator pos, InputIt first, InputIt last)
 
constexpr value_iterator insert_values (size_t idx, InputIt first, InputIt last)
 
constexpr auto insert_values (const_value_iterator pos, InputIt first, InputIt last) -> value_iterator
 
constexpr auto insert_values (size_t idx, InputIt first, InputIt last) -> value_iterator
 
constexpr value_iterator erase_values (const_value_iterator pos, size_t count)
 
constexpr value_iterator erase_values (size_t idx, size_t count)
 
void reset_proxy (arrow_proxy &proxy)
 

Static Public Member Functions

template<std::ranges::input_range RANGE>
static u8_buffer< bool > make_data_buffer (RANGE &&r)
 
static u8_buffer< bool > make_data_buffer (size_t size, bool value)
 
static u8_buffer< T > make_data_buffer (RANGE &&r)
 
static u8_buffer< T > make_data_buffer (size_t n, const T &value)
 

Detailed Description

Definition at line 112 of file primitive_data_access.hpp.

Member Typedef Documentation

◆ bitset_view

using sparrow::details::primitive_data_access< bool >::bitset_view = dynamic_bitset_view<std::uint8_t>

Definition at line 116 of file primitive_data_access.hpp.

◆ const_value_iterator [1/2]

using sparrow::details::primitive_data_access< T >::const_value_iterator

Definition at line 45 of file primitive_data_access.hpp.

◆ const_value_iterator [2/2]

using sparrow::details::primitive_data_access< bool >::const_value_iterator = typename bitset_view::const_iterator

Definition at line 124 of file primitive_data_access.hpp.

◆ inner_const_pointer [1/2]

using sparrow::details::primitive_data_access< T >::inner_const_pointer

Definition at line 42 of file primitive_data_access.hpp.

◆ inner_const_pointer [2/2]

using sparrow::details::primitive_data_access< bool >::inner_const_pointer = const inner_value_type*

Definition at line 121 of file primitive_data_access.hpp.

◆ inner_const_reference [1/2]

using sparrow::details::primitive_data_access< T >::inner_const_reference

Definition at line 40 of file primitive_data_access.hpp.

◆ inner_const_reference [2/2]

using sparrow::details::primitive_data_access< bool >::inner_const_reference = typename bitset_view::const_reference

Definition at line 119 of file primitive_data_access.hpp.

◆ inner_pointer [1/2]

using sparrow::details::primitive_data_access< T >::inner_pointer

Definition at line 41 of file primitive_data_access.hpp.

◆ inner_pointer [2/2]

Definition at line 120 of file primitive_data_access.hpp.

◆ inner_reference [1/2]

using sparrow::details::primitive_data_access< T >::inner_reference

Definition at line 39 of file primitive_data_access.hpp.

◆ inner_reference [2/2]

using sparrow::details::primitive_data_access< bool >::inner_reference = typename bitset_view::reference

Definition at line 118 of file primitive_data_access.hpp.

◆ inner_value_type [1/2]

using sparrow::details::primitive_data_access< T >::inner_value_type

Definition at line 38 of file primitive_data_access.hpp.

◆ inner_value_type [2/2]

using sparrow::details::primitive_data_access< bool >::inner_value_type = typename bitset_view::value_type

Definition at line 117 of file primitive_data_access.hpp.

◆ value_iterator [1/2]

using sparrow::details::primitive_data_access< T >::value_iterator

Definition at line 44 of file primitive_data_access.hpp.

◆ value_iterator [2/2]

using sparrow::details::primitive_data_access< bool >::value_iterator = typename bitset_view::iterator

Definition at line 123 of file primitive_data_access.hpp.

Constructor & Destructor Documentation

◆ primitive_data_access() [1/6]

sparrow::details::primitive_data_access< bool >::primitive_data_access ( arrow_proxy & proxy,
size_t data_buffer_index )
inline

Definition at line 390 of file primitive_data_access.hpp.

Here is the caller graph for this function:

◆ primitive_data_access() [2/6]

sparrow::details::primitive_data_access< bool >::primitive_data_access ( const primitive_data_access< bool > & )
delete
Here is the call graph for this function:

◆ primitive_data_access() [3/6]

sparrow::details::primitive_data_access< bool >::primitive_data_access ( primitive_data_access< bool > && )
delete
Here is the call graph for this function:

◆ primitive_data_access() [4/6]

sparrow::details::primitive_data_access< T >::primitive_data_access ( arrow_proxy & proxy,
size_t data_buffer_index )

Constructor for primitive_data_access.

Parameters
layoutPointer to the layout object.
data_buffer_indexIndex of the data buffer.

Definition at line 52 of file primitive_data_access.hpp.

◆ primitive_data_access() [5/6]

sparrow::details::primitive_data_access< T >::primitive_data_access ( const primitive_data_access< bool > & )
delete

◆ primitive_data_access() [6/6]

sparrow::details::primitive_data_access< T >::primitive_data_access ( primitive_data_access< bool > && )
delete

Member Function Documentation

◆ data() [1/2]

auto sparrow::details::primitive_data_access< T >::data ( )
nodiscardconstexpr

Definition at line 66 of file primitive_data_access.hpp.

Here is the caller graph for this function:

◆ data() [2/2]

auto sparrow::details::primitive_data_access< T >::data ( ) const
nodiscardconstexpr

Definition at line 67 of file primitive_data_access.hpp.

◆ erase_values() [1/4]

auto sparrow::details::primitive_data_access< T >::erase_values ( const_value_iterator pos,
size_t count )
constexpr

Definition at line 90 of file primitive_data_access.hpp.

◆ erase_values() [2/4]

auto sparrow::details::primitive_data_access< bool >::erase_values ( const_value_iterator pos,
size_t count )
inline

Definition at line 476 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ erase_values() [3/4]

auto sparrow::details::primitive_data_access< T >::erase_values ( size_t idx,
size_t count )
constexpr

Definition at line 91 of file primitive_data_access.hpp.

◆ erase_values() [4/4]

auto sparrow::details::primitive_data_access< bool >::erase_values ( size_t idx,
size_t count )
inline

Definition at line 486 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ insert_value() [1/4]

auto sparrow::details::primitive_data_access< bool >::insert_value ( const_value_iterator pos,
bool value,
size_t count )
inline

Definition at line 436 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ insert_value() [2/4]

auto sparrow::details::primitive_data_access< T >::insert_value ( const_value_iterator pos,
T value,
size_t count )
constexpr

Definition at line 80 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ insert_value() [3/4]

auto sparrow::details::primitive_data_access< bool >::insert_value ( size_t idx,
bool value,
size_t count )
inline

Definition at line 445 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ insert_value() [4/4]

auto sparrow::details::primitive_data_access< T >::insert_value ( size_t idx,
T value,
size_t count )
constexpr

Definition at line 81 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ insert_values() [1/10]

value_iterator sparrow::details::primitive_data_access< T >::insert_values ( const_value_iterator pos,
InputIt first,
InputIt last )
constexpr

◆ insert_values() [2/10]

template<mpl::iterator_of_type< bool > InputIt>
value_iterator sparrow::details::primitive_data_access< bool >::insert_values ( const_value_iterator pos,
InputIt first,
InputIt last )
constexpr
Here is the caller graph for this function:

◆ insert_values() [3/10]

auto sparrow::details::primitive_data_access< T >::insert_values ( const_value_iterator pos,
InputIt first,
InputIt last )-> value_iterator
constexpr

Definition at line 295 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ insert_values() [4/10]

auto sparrow::details::primitive_data_access< T >::insert_values ( const_value_iterator pos,
InputIt first,
InputIt last )-> value_iterator
constexpr

Definition at line 295 of file primitive_data_access.hpp.

◆ insert_values() [5/10]

template<mpl::iterator_of_type< bool > InputIt>
auto sparrow::details::primitive_data_access< bool >::insert_values ( const_value_iterator pos,
InputIt first,
InputIt last ) -> value_iterator
constexpr

Definition at line 457 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ insert_values() [6/10]

value_iterator sparrow::details::primitive_data_access< T >::insert_values ( size_t idx,
InputIt first,
InputIt last )
constexpr

◆ insert_values() [7/10]

template<mpl::iterator_of_type< bool > InputIt>
value_iterator sparrow::details::primitive_data_access< bool >::insert_values ( size_t idx,
InputIt first,
InputIt last )
constexpr
Here is the call graph for this function:

◆ insert_values() [8/10]

auto sparrow::details::primitive_data_access< T >::insert_values ( size_t idx,
InputIt first,
InputIt last )-> value_iterator
constexpr

Definition at line 310 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ insert_values() [9/10]

auto sparrow::details::primitive_data_access< T >::insert_values ( size_t idx,
InputIt first,
InputIt last )-> value_iterator
constexpr

Definition at line 310 of file primitive_data_access.hpp.

◆ insert_values() [10/10]

template<mpl::iterator_of_type< bool > InputIt>
auto sparrow::details::primitive_data_access< bool >::insert_values ( size_t idx,
InputIt first,
InputIt last ) -> value_iterator
constexpr

Definition at line 467 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ make_data_buffer() [1/4]

u8_buffer< T > sparrow::details::primitive_data_access< T >::make_data_buffer ( RANGE && r)
staticnodiscard

Definition at line 96 of file primitive_data_access.hpp.

◆ make_data_buffer() [2/4]

template<std::ranges::input_range RANGE>
u8_buffer< bool > sparrow::details::primitive_data_access< bool >::make_data_buffer ( RANGE && r)
staticnodiscard

Definition at line 503 of file primitive_data_access.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ make_data_buffer() [3/4]

u8_buffer< T > sparrow::details::primitive_data_access< T >::make_data_buffer ( size_t n,
const T & value )
staticnodiscard

Definition at line 98 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ make_data_buffer() [4/4]

u8_buffer< bool > sparrow::details::primitive_data_access< bool >::make_data_buffer ( size_t size,
bool value )
inlinestaticnodiscard

Definition at line 514 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ operator=() [1/4]

◆ operator=() [2/4]

Here is the call graph for this function:

◆ operator=() [3/4]

◆ operator=() [4/4]

Here is the call graph for this function:

◆ reset_proxy() [1/2]

void sparrow::details::primitive_data_access< T >::reset_proxy ( arrow_proxy & proxy)

Definition at line 93 of file primitive_data_access.hpp.

◆ reset_proxy() [2/2]

void sparrow::details::primitive_data_access< bool >::reset_proxy ( arrow_proxy & proxy)
inline

Definition at line 495 of file primitive_data_access.hpp.

◆ resize_values() [1/2]

void sparrow::details::primitive_data_access< bool >::resize_values ( size_t new_length,
bool value )
inline

Definition at line 429 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ resize_values() [2/2]

void sparrow::details::primitive_data_access< T >::resize_values ( size_t new_length,
const T & value )
constexpr

Definition at line 78 of file primitive_data_access.hpp.

Here is the call graph for this function:

◆ value() [1/4]

auto sparrow::details::primitive_data_access< T >::value ( size_t i)
nodiscardconstexpr

Definition at line 69 of file primitive_data_access.hpp.

◆ value() [2/4]

auto sparrow::details::primitive_data_access< bool >::value ( size_t i)
inlinenodiscard

Definition at line 399 of file primitive_data_access.hpp.

Here is the caller graph for this function:

◆ value() [3/4]

auto sparrow::details::primitive_data_access< T >::value ( size_t i) const
nodiscardconstexpr

Definition at line 70 of file primitive_data_access.hpp.

◆ value() [4/4]

auto sparrow::details::primitive_data_access< bool >::value ( size_t i) const
inlinenodiscard

Definition at line 404 of file primitive_data_access.hpp.

◆ value_begin() [1/2]

auto sparrow::details::primitive_data_access< T >::value_begin ( )
nodiscardconstexpr

Definition at line 72 of file primitive_data_access.hpp.

◆ value_begin() [2/2]

auto sparrow::details::primitive_data_access< bool >::value_begin ( )
inlinenodiscard

Definition at line 409 of file primitive_data_access.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ value_cbegin() [1/2]

auto sparrow::details::primitive_data_access< T >::value_cbegin ( ) const
nodiscardconstexpr

Definition at line 75 of file primitive_data_access.hpp.

◆ value_cbegin() [2/2]

auto sparrow::details::primitive_data_access< bool >::value_cbegin ( ) const
inlinenodiscard

Definition at line 419 of file primitive_data_access.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ value_cend() [1/2]

auto sparrow::details::primitive_data_access< T >::value_cend ( ) const
nodiscardconstexpr

Definition at line 76 of file primitive_data_access.hpp.

◆ value_cend() [2/2]

auto sparrow::details::primitive_data_access< bool >::value_cend ( ) const
inlinenodiscard

Definition at line 424 of file primitive_data_access.hpp.

Here is the caller graph for this function:

◆ value_end() [1/2]

auto sparrow::details::primitive_data_access< T >::value_end ( )
nodiscardconstexpr

Definition at line 73 of file primitive_data_access.hpp.

◆ value_end() [2/2]

auto sparrow::details::primitive_data_access< bool >::value_end ( )
inlinenodiscard

Definition at line 414 of file primitive_data_access.hpp.


The documentation for this class was generated from the following file: