Skip to content

Struct mdbx::map_handle

ClassList > mdbx > map_handle

A handle for an individual table (aka key-value space, maps or sub-database) in the environment. More...

  • #include <mdbx.h++>

Classes

Type Name
struct info

Public Types

Type Name
typedef ::MDBX_db_flags_t flags
typedef ::MDBX_dbi_state_t state

Public Attributes

Type Name
MDBX_dbi dbi = {0}

Public Functions

Type Name
constexpr map_handle () noexcept
constexpr map_handle (MDBX_dbi dbi) noexcept
map_handle (const map_handle &) noexcept
operator MDBX_dbi () const
map_handle & operator= (const map_handle &) noexcept

Detailed Description

See also: txn::open_map()

See also: txn::create_map()

See also: txn::clear_map()

See also: txn::drop_map()

See also: txn::get_map_flags()

See also: txn::get_map_stat()

See also: env::close_map()

See also: cursor::map()

Public Types Documentation

typedef flags

using mdbx::map_handle::flags = ::MDBX_db_flags_t;

typedef state

using mdbx::map_handle::state = ::MDBX_dbi_state_t;

Public Attributes Documentation

variable dbi

MDBX_dbi mdbx::map_handle::dbi;

Public Functions Documentation

function map_handle [1/3]

inline constexpr mdbx::map_handle::map_handle () noexcept

function map_handle [2/3]

inline constexpr mdbx::map_handle::map_handle (
    MDBX_dbi dbi
) noexcept

function map_handle [3/3]

mdbx::map_handle::map_handle (
    const map_handle &
) noexcept

function operator MDBX_dbi

inline mdbx::map_handle::operator MDBX_dbi () const

function operator=

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

Friends Documentation

friend operator!=

inline bool mdbx::map_handle::operator!= (
    const map_handle & a,
    const map_handle & b
) noexcept

friend operator<

inline bool mdbx::map_handle::operator< (
    const map_handle & a,
    const map_handle & b
) noexcept

friend operator<=

inline bool mdbx::map_handle::operator<= (
    const map_handle & a,
    const map_handle & b
) noexcept

friend operator==

inline bool mdbx::map_handle::operator== (
    const map_handle & a,
    const map_handle & b
) noexcept

friend operator>

inline bool mdbx::map_handle::operator> (
    const map_handle & a,
    const map_handle & b
) noexcept

friend operator>=

inline bool mdbx::map_handle::operator>= (
    const map_handle & a,
    const map_handle & b
) noexcept


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