libmdbx  0.11.6.39 (2022-04-13T11:05:50+03:00)
One of the fastest compact embeddable key-value ACID database without WAL.
mdbx::pair_result Struct Reference

Combines pair of slices for key and value with boolean flag to represent result of certain operations. More...

#include <mdbx.h++>

Inherits mdbx::pair.

Inherited by mdbx::cursor::move_result.

Public Member Functions

 pair_result (const slice &key, const slice &value, bool done) noexcept
 
 pair_result (const pair_result &) noexcept=default
 
pair_resultoperator= (const pair_result &) noexcept=default
 
MDBX_CXX14_CONSTEXPR operator bool () const noexcept
 
- Public Member Functions inherited from mdbx::pair
 pair (const slice &key, const slice &value) noexcept
 
 pair (const pair &) noexcept=default
 
pairoperator= (const pair &) noexcept=default
 
MDBX_CXX14_CONSTEXPR operator bool () const noexcept
 

Public Attributes

bool done
 
- Public Attributes inherited from mdbx::pair
slice key
 
slice value
 

Detailed Description

Combines pair of slices for key and value with boolean flag to represent result of certain operations.

Constructor & Destructor Documentation

◆ pair_result() [1/2]

mdbx::pair_result::pair_result ( const slice key,
const slice value,
bool  done 
)
inlinenoexcept

◆ pair_result() [2/2]

mdbx::pair_result::pair_result ( const pair_result )
defaultnoexcept

Member Function Documentation

◆ operator bool()

MDBX_CXX14_CONSTEXPR mdbx::pair_result::operator bool ( ) const
inlinenoexcept

◆ operator=()

pair_result& mdbx::pair_result::operator= ( const pair_result )
defaultnoexcept

Member Data Documentation

◆ done

bool mdbx::pair_result::done

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