Skip to content

Struct mdbx::pair

ClassList > mdbx > pair

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

  • #include <mdbx.h++>

Inherited by the following classes: mdbx::cursor::estimate_result, mdbx::pair_result

Public Types

Type Name
typedef std::pair< slice, slice > stl_pair

Public Attributes

Type Name
slice key
slice value

Public Functions

Type Name
constexpr operator stl_pair () noexcept const
pair & operator= (const pair &) noexcept
pair & operator= (pair && couple) noexcept
pair & operator= (const stl_pair & couple)
pair & operator= (stl_pair && couple)
constexpr pair (const slice & key, const slice & value) noexcept
constexpr pair (const stl_pair & couple) noexcept
pair (const pair &) noexcept

Public Static Functions

Type Name
pair invalid () noexcept

Public Types Documentation

typedef stl_pair

using mdbx::pair::stl_pair = std::pair<slice, slice>;

Public Attributes Documentation

variable key

slice mdbx::pair::key;

variable value

slice mdbx::pair::value;

Public Functions Documentation

function operator stl_pair

inline constexpr mdbx::pair::operator stl_pair () noexcept const

function operator=

pair & mdbx::pair::operator= (
    const pair &
) noexcept

function operator=

inline pair & mdbx::pair::operator= (
    pair && couple
) noexcept

function operator=

inline pair & mdbx::pair::operator= (
    const stl_pair & couple
) 

function operator=

inline pair & mdbx::pair::operator= (
    stl_pair && couple
) 

function pair [1/3]

inline constexpr mdbx::pair::pair (
    const slice & key,
    const slice & value
) noexcept

function pair [2/3]

inline constexpr mdbx::pair::pair (
    const stl_pair & couple
) noexcept

function pair [3/3]

mdbx::pair::pair (
    const pair &
) noexcept

Public Static Functions Documentation

function invalid

static inline pair mdbx::pair::invalid () noexcept

Friends Documentation

friend operator!=

bool mdbx::pair::operator!= (
    const pair & a,
    const pair & b
) 

friend operator<

bool mdbx::pair::operator< (
    const pair & a,
    const pair & b
) 

friend operator<=

bool mdbx::pair::operator<= (
    const pair & a,
    const pair & b
) 

friend operator==

bool mdbx::pair::operator== (
    const pair & a,
    const pair & b
) 

friend operator>

bool mdbx::pair::operator> (
    const pair & a,
    const pair & b
) 

friend operator>=

bool mdbx::pair::operator>= (
    const pair & a,
    const pair & b
) 


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