Skip to content

Struct mdbx::buffer::data_preserver

ClassList > data_preserver

Inherits the following classes: mdbx::exception_thunk

Public Attributes

Type Name
buffer data

Public Functions

Type Name
data_preserver (const allocator_type & alloc)
constexpr operator MDBX_preserve_func () noexcept const

Public Functions inherited from mdbx::exception_thunk

See mdbx::exception_thunk

Type Name
exception_thunk () noexcept
exception_thunk (const exception_thunk &) = delete
exception_thunk (exception_thunk &&) = delete
exception_thunk & operator= (const exception_thunk &) = delete
exception_thunk & operator= (exception_thunk &&) = delete

Public Static Functions

Type Name
int callback (void * context, MDBX_val * target, const void * src, size_t bytes) noexcept

Public Attributes Documentation

variable data

buffer mdbx::buffer< ALLOCATOR, CAPACITY_POLICY >::data_preserver::data;

Public Functions Documentation

function data_preserver

inline data_preserver::data_preserver (
    const allocator_type & alloc
) 

function operator MDBX_preserve_func

inline constexpr data_preserver::operator MDBX_preserve_func () noexcept const

Public Static Functions Documentation

function callback

static inline int data_preserver::callback (
    void * context,
    MDBX_val * target,
    const void * src,
    size_t bytes
) noexcept


The documentation for this class was generated from the following file docs/mdbx.h++