|
sparrow 1.4.0
C++20 idiomatic APIs for the Apache Arrow Columnar Format
|
Base class for buffer. More...
#include <buffer.hpp>
Classes | |
| struct | buffer_data |
Protected Types | |
| using | allocator_type = any_allocator<T> |
| using | alloc_traits = std::allocator_traits<allocator_type> |
| using | pointer = typename alloc_traits::pointer |
| using | size_type = typename alloc_traits::size_type |
Protected Member Functions | |
| buffer_base ()=default | |
| template<allocator A> | |
| constexpr | buffer_base (const A &a) noexcept |
| template<allocator A = allocator_type> | |
| constexpr | buffer_base (size_type n, const A &a) |
| template<allocator A = allocator_type> | |
| constexpr | buffer_base (pointer p, size_type n, const A &a) |
| ~buffer_base () | |
| constexpr | buffer_base (buffer_base &&) noexcept=default |
| template<allocator A> | |
| constexpr | buffer_base (buffer_base &&rhs, const A &a) |
| constexpr allocator_type & | get_allocator () noexcept |
| constexpr const allocator_type & | get_allocator () const noexcept |
| constexpr buffer_data & | get_data () noexcept |
| constexpr const buffer_data & | get_data () const noexcept |
| constexpr pointer | allocate (size_type n) |
| constexpr void | deallocate (pointer p, size_type n) |
| constexpr void | create_storage (size_type n) |
| constexpr void | assign_storage (pointer p, size_type n, size_type cap) |
Base class for buffer.
This class provides memory management for the buffer class. The constructor and destructor perform allocation and deallocation of the internal storage, but do not initialize any element.
Definition at line 49 of file buffer.hpp.
|
protected |
Definition at line 54 of file buffer.hpp.
|
protected |
Definition at line 53 of file buffer.hpp.
|
protected |
Definition at line 55 of file buffer.hpp.
|
protected |
Definition at line 56 of file buffer.hpp.
|
protecteddefault |
|
constexprprotectednoexcept |
Definition at line 332 of file buffer.hpp.
|
constexprprotected |
|
constexprprotected |
|
protected |
|
constexprprotecteddefaultnoexcept |
|
constexprprotected |
|
constexprprotected |
|
constexprprotected |
|
constexprprotected |
Definition at line 405 of file buffer.hpp.
|
constexprprotected |
|
nodiscardconstexprprotectednoexcept |
Definition at line 375 of file buffer.hpp.
|
nodiscardconstexprprotectednoexcept |
Definition at line 369 of file buffer.hpp.
|
nodiscardconstexprprotectednoexcept |
Definition at line 387 of file buffer.hpp.
|
nodiscardconstexprprotectednoexcept |
Definition at line 381 of file buffer.hpp.