sparrow 0.3.0
Loading...
Searching...
No Matches
sparrow::array_wrapper Class Referenceabstract

Base class for array type erasure. More...

#include <array_wrapper.hpp>

Inheritance diagram for sparrow::array_wrapper:
[legend]

Public Types

using wrapper_ptr = std::unique_ptr<array_wrapper>
 

Public Member Functions

virtual ~array_wrapper ()=default
 
 array_wrapper (array_wrapper &&)=delete
 
array_wrapperoperator= (const array_wrapper &)=delete
 
array_wrapperoperator= (array_wrapper &&)=delete
 
wrapper_ptr clone () const
 
enum data_type data_type () const
 
bool is_dictionary () const
 
arrow_proxyget_arrow_proxy ()
 
const arrow_proxyget_arrow_proxy () const
 

Protected Member Functions

 array_wrapper (enum data_type dt)
 
 array_wrapper (const array_wrapper &)=default
 

Private Member Functions

virtual bool is_dictionary_impl () const =0
 
virtual arrow_proxyget_arrow_proxy_impl ()=0
 
virtual const arrow_proxyget_arrow_proxy_impl () const =0
 
virtual wrapper_ptr clone_impl () const =0
 

Detailed Description

Base class for array type erasure.

Definition at line 70 of file array_wrapper.hpp.

Member Typedef Documentation

◆ wrapper_ptr

Definition at line 74 of file array_wrapper.hpp.

Constructor & Destructor Documentation

◆ ~array_wrapper()

virtual sparrow::array_wrapper::~array_wrapper ( )
virtualdefault

◆ array_wrapper() [1/3]

sparrow::array_wrapper::array_wrapper ( array_wrapper && )
delete
Here is the call graph for this function:
Here is the caller graph for this function:

◆ array_wrapper() [2/3]

sparrow::array_wrapper::array_wrapper ( enum data_type dt)
inlineprotected

Definition at line 170 of file array_wrapper.hpp.

Here is the call graph for this function:

◆ array_wrapper() [3/3]

sparrow::array_wrapper::array_wrapper ( const array_wrapper & )
protecteddefault
Here is the call graph for this function:

Member Function Documentation

◆ clone()

auto sparrow::array_wrapper::clone ( ) const
inlinenodiscard

Definition at line 145 of file array_wrapper.hpp.

Here is the call graph for this function:

◆ clone_impl()

virtual wrapper_ptr sparrow::array_wrapper::clone_impl ( ) const
nodiscardprivatepure virtual

Implemented in sparrow::array_wrapper_impl< T >.

Here is the caller graph for this function:

◆ data_type()

enum data_type sparrow::array_wrapper::data_type ( ) const
inlinenodiscard

Definition at line 150 of file array_wrapper.hpp.

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

◆ get_arrow_proxy() [1/2]

arrow_proxy & sparrow::array_wrapper::get_arrow_proxy ( )
inlinenodiscard

Definition at line 160 of file array_wrapper.hpp.

Here is the call graph for this function:

◆ get_arrow_proxy() [2/2]

const arrow_proxy & sparrow::array_wrapper::get_arrow_proxy ( ) const
inlinenodiscard

Definition at line 165 of file array_wrapper.hpp.

Here is the call graph for this function:

◆ get_arrow_proxy_impl() [1/2]

virtual const arrow_proxy & sparrow::array_wrapper::get_arrow_proxy_impl ( ) const
nodiscardprivatepure virtual

◆ get_arrow_proxy_impl() [2/2]

virtual arrow_proxy & sparrow::array_wrapper::get_arrow_proxy_impl ( )
nodiscardprivatepure virtual

Implemented in sparrow::array_wrapper_impl< T >.

Here is the caller graph for this function:

◆ is_dictionary()

bool sparrow::array_wrapper::is_dictionary ( ) const
inlinenodiscard

Definition at line 155 of file array_wrapper.hpp.

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

◆ is_dictionary_impl()

virtual bool sparrow::array_wrapper::is_dictionary_impl ( ) const
nodiscardprivatepure virtual

Implemented in sparrow::array_wrapper_impl< T >.

Here is the caller graph for this function:

◆ operator=() [1/2]

array_wrapper & sparrow::array_wrapper::operator= ( array_wrapper && )
delete
Here is the call graph for this function:

◆ operator=() [2/2]

array_wrapper & sparrow::array_wrapper::operator= ( const array_wrapper & )
delete
Here is the call graph for this function:

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