|
class | mdbx::buffer< ALLOCATOR, CAPACITY_POLICY > |
| The chunk of data stored inside the buffer or located outside it. More...
|
|
class | mdbx::exception_thunk |
| Transfers C++ exceptions thru C callbacks. More...
|
|
class | mdbx::error |
| Implements error information and throwing corresponding exceptions. More...
|
|
class | mdbx::exception |
| Base class for all libmdbx's exceptions that are corresponds to libmdbx errors. More...
|
|
class | mdbx::fatal |
| Fatal exception that lead termination anyway in dangerous unrecoverable cases. More...
|
|
struct | mdbx::slice |
| References a data located outside the slice. More...
|
|
struct | mdbx::allocation_aware_details::move_assign_alloc< T, A, PoCMA > |
|
struct | mdbx::allocation_aware_details::move_assign_alloc< T, A, false > |
|
struct | mdbx::allocation_aware_details::move_assign_alloc< T, A, true > |
|
struct | mdbx::allocation_aware_details::copy_assign_alloc< T, A, PoCCA > |
|
struct | mdbx::allocation_aware_details::copy_assign_alloc< T, A, false > |
|
struct | mdbx::allocation_aware_details::copy_assign_alloc< T, A, true > |
|
struct | mdbx::allocation_aware_details::swap_alloc< T, A, PoCS > |
|
struct | mdbx::allocation_aware_details::swap_alloc< T, A, false > |
|
struct | mdbx::allocation_aware_details::swap_alloc< T, A, true > |
|
struct | mdbx::default_capacity_policy |
|
struct | mdbx::to_hex |
| Hexadecimal encoder which satisfy SliceTranscoder concept. More...
|
|
struct | mdbx::to_base58 |
| Base58 encoder which satisfy SliceTranscoder concept. More...
|
|
struct | mdbx::to_base64 |
| Base64 encoder which satisfy SliceTranscoder concept. More...
|
|
struct | mdbx::from_hex |
| Hexadecimal decoder which satisfy SliceTranscoder concept. More...
|
|
struct | mdbx::from_base58 |
| Base58 decoder which satisfy SliceTranscoder concept. More...
|
|
struct | mdbx::from_base64 |
| Base64 decoder which satisfy SliceTranscoder concept. More...
|
|
class | mdbx::buffer< ALLOCATOR, CAPACITY_POLICY > |
| The chunk of data stored inside the buffer or located outside it. More...
|
|
union | mdbx::buffer< ALLOCATOR, CAPACITY_POLICY >::silo::bin |
|
struct | mdbx::buffer< ALLOCATOR, CAPACITY_POLICY >::silo::bin::allocated |
|
struct | mdbx::value_result |
| Combines data slice with boolean flag to represent result of certain operations. More...
|
|
struct | mdbx::pair |
| Combines pair of slices for key and value to represent result of certain operations. More...
|
|
struct | mdbx::pair_result |
| Combines pair of slices for key and value with boolean flag to represent result of certain operations. More...
|
|
struct | mdbx::map_handle |
| A handle for an individual database (key-value spaces) in the environment. More...
|
|
struct | mdbx::map_handle::info |
|
class | mdbx::env |
| Unmanaged database environment. More...
|
|
struct | mdbx::env::geometry |
| Database geometry for size management. More...
|
|
struct | mdbx::env::geometry::size |
| Tagged type for output to std::ostream. More...
|
|
struct | mdbx::env::reclaiming_options |
| Garbage reclaiming options. More...
|
|
struct | mdbx::env::operate_options |
| Operate options. More...
|
|
struct | mdbx::env::operate_parameters |
| Operate parameters. More...
|
|
struct | mdbx::env::limits |
|
struct | mdbx::env::reader_info |
| Reader information. More...
|
|
class | mdbx::env_managed |
| Managed database environment. More...
|
|
struct | mdbx::env_managed::create_parameters |
| Additional parameters for creating a new database. More...
|
|
class | mdbx::txn |
| Unmanaged database transaction. More...
|
|
class | mdbx::txn_managed |
| Managed database transaction. More...
|
|
class | mdbx::cursor |
| Unmanaged cursor. More...
|
|
struct | mdbx::cursor::move_result |
|
class | mdbx::cursor_managed |
| Managed cursor. More...
|
|
struct | std::hash<::mdbx::slice > |
|
|
const MDBX_CXX11_CONSTEXPR version_info & | mdbx::get_version () noexcept |
| Returns libmdbx version information. More...
|
|
const MDBX_CXX11_CONSTEXPR build_info & | mdbx::get_build () noexcept |
| Returns libmdbx build information. More...
|
|
| mdbx::MDBX_DECLARE_EXCEPTION (bad_map_id) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (bad_transaction) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (bad_value_size) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (db_corrupted) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (db_full) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (db_invalid) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (db_too_large) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (db_unable_extend) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (db_version_mismatch) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (db_wanna_write_for_recovery) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (incompatible_operation) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (internal_page_full) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (internal_problem) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (key_exists) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (key_mismatch) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (max_maps_reached) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (max_readers_reached) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (multivalue) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (no_data) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (not_found) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (operation_not_permitted) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (permission_denied_or_not_writeable) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (reader_slot_busy) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (remote_media) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (something_busy) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (thread_mismatch) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (transaction_full) |
|
| mdbx::MDBX_DECLARE_EXCEPTION (transaction_overlapping) |
|
LIBMDBX_API void | mdbx::throw_too_small_target_buffer () |
|
LIBMDBX_API void | mdbx::throw_max_length_exceeded () |
|
LIBMDBX_API void | mdbx::throw_out_range () |
|
LIBMDBX_API void | mdbx::throw_allocators_mismatch () |
|
template<class ALLOCATOR = legacy_allocator, typename CAPACITY_POLICY = default_capacity_policy, MDBX_CXX20_CONCEPT(MutableByteProducer, PRODUCER) > |
buffer< ALLOCATOR, CAPACITY_POLICY > | mdbx::make_buffer (PRODUCER &producer, const ALLOCATOR &allocator=ALLOCATOR()) |
|
template<class ALLOCATOR = legacy_allocator, typename CAPACITY_POLICY = default_capacity_policy, MDBX_CXX20_CONCEPT(ImmutableByteProducer, PRODUCER) > |
buffer< ALLOCATOR, CAPACITY_POLICY > | mdbx::make_buffer (const PRODUCER &producer, const ALLOCATOR &allocator=ALLOCATOR()) |
|
template<class ALLOCATOR = legacy_allocator, MDBX_CXX20_CONCEPT(MutableByteProducer, PRODUCER) > |
string< ALLOCATOR > | mdbx::make_string (PRODUCER &producer, const ALLOCATOR &allocator=ALLOCATOR()) |
|
template<class ALLOCATOR = legacy_allocator, MDBX_CXX20_CONCEPT(ImmutableByteProducer, PRODUCER) > |
string< ALLOCATOR > | mdbx::make_string (const PRODUCER &producer, const ALLOCATOR &allocator=ALLOCATOR()) |
|
template<typename A > |
constexpr bool | mdbx::allocation_aware_details::allocator_is_always_equal () noexcept |
|
inline ::std::ostream & | mdbx::operator<< (::std::ostream &out, const to_hex &wrapper) |
|
inline ::std::ostream & | mdbx::operator<< (::std::ostream &out, const to_base58 &wrapper) |
|
inline ::std::ostream & | mdbx::operator<< (::std::ostream &out, const to_base64 &wrapper) |
|
LIBMDBX_API ::std::ostream & | mdbx::operator<< (::std::ostream &, const slice &) |
|
LIBMDBX_API ::std::ostream & | mdbx::operator<< (::std::ostream &, const pair &) |
|
LIBMDBX_API ::std::ostream & | mdbx::operator<< (::std::ostream &, const pair_result &) |
|
template<class ALLOCATOR , typename CAPACITY_POLICY > |
inline ::std::ostream & | mdbx::operator<< (::std::ostream &out, const buffer< ALLOCATOR, CAPACITY_POLICY > &it) |
|
LIBMDBX_API ::std::ostream & | mdbx::operator<< (::std::ostream &, const env::geometry::size &) |
|
LIBMDBX_API ::std::ostream & | mdbx::operator<< (::std::ostream &, const env::geometry &) |
|
LIBMDBX_API ::std::ostream & | mdbx::operator<< (::std::ostream &, const env::operate_parameters &) |
|
LIBMDBX_API ::std::ostream & | mdbx::operator<< (::std::ostream &, const env::mode &) |
|
LIBMDBX_API ::std::ostream & | mdbx::operator<< (::std::ostream &, const env::durability &) |
|
LIBMDBX_API ::std::ostream & | mdbx::operator<< (::std::ostream &, const env::reclaiming_options &) |
|
LIBMDBX_API ::std::ostream & | mdbx::operator<< (::std::ostream &, const env::operate_options &) |
|
LIBMDBX_API ::std::ostream & | mdbx::operator<< (::std::ostream &, const env_managed::create_parameters &) |
|
LIBMDBX_API ::std::ostream & | mdbx::operator<< (::std::ostream &, const MDBX_log_level_t &) |
|
LIBMDBX_API ::std::ostream & | mdbx::operator<< (::std::ostream &, const MDBX_debug_flags_t &) |
|
LIBMDBX_API ::std::ostream & | mdbx::operator<< (::std::ostream &, const error &) |
|
inline ::std::ostream & | mdbx::operator<< (::std::ostream &out, const MDBX_error_t &errcode) |
|
MDBX_CXX11_CONSTEXPR bool | mdbx::operator== (const error &a, const error &b) noexcept |
|
MDBX_CXX11_CONSTEXPR bool | mdbx::operator!= (const error &a, const error &b) noexcept |
|
MDBX_NOTHROW_PURE_FUNCTION MDBX_CXX14_CONSTEXPR bool | mdbx::operator== (const slice &a, const slice &b) noexcept |
|
MDBX_NOTHROW_PURE_FUNCTION MDBX_CXX14_CONSTEXPR bool | mdbx::operator< (const slice &a, const slice &b) noexcept |
|
MDBX_NOTHROW_PURE_FUNCTION MDBX_CXX14_CONSTEXPR bool | mdbx::operator> (const slice &a, const slice &b) noexcept |
|
MDBX_NOTHROW_PURE_FUNCTION MDBX_CXX14_CONSTEXPR bool | mdbx::operator<= (const slice &a, const slice &b) noexcept |
|
MDBX_NOTHROW_PURE_FUNCTION MDBX_CXX14_CONSTEXPR bool | mdbx::operator>= (const slice &a, const slice &b) noexcept |
|
MDBX_NOTHROW_PURE_FUNCTION MDBX_CXX14_CONSTEXPR bool | mdbx::operator!= (const slice &a, const slice &b) noexcept |
|
MDBX_CXX11_CONSTEXPR bool | mdbx::operator== (const env &a, const env &b) noexcept |
|
MDBX_CXX11_CONSTEXPR bool | mdbx::operator!= (const env &a, const env &b) noexcept |
|
MDBX_CXX11_CONSTEXPR bool | mdbx::operator== (const txn &a, const txn &b) noexcept |
|
MDBX_CXX11_CONSTEXPR bool | mdbx::operator!= (const txn &a, const txn &b) noexcept |
|
MDBX_CXX11_CONSTEXPR bool | mdbx::operator== (const cursor &a, const cursor &b) noexcept |
|
MDBX_CXX11_CONSTEXPR bool | mdbx::operator!= (const cursor &a, const cursor &b) noexcept |
|
ptrdiff_t | mdbx::estimate (const cursor &from, const cursor &to) |
|
string | std::to_string (const ::mdbx::slice &value) |
|
template<class ALLOCATOR , typename CAPACITY_POLICY > |
string | std::to_string (const ::mdbx::buffer< ALLOCATOR, CAPACITY_POLICY > &buffer) |
|
string | std::to_string (const ::mdbx::pair &value) |
|
string | std::to_string (const ::mdbx::env::geometry &value) |
|
string | std::to_string (const ::mdbx::env::operate_parameters &value) |
|
string | std::to_string (const ::mdbx::env::mode &value) |
|
string | std::to_string (const ::mdbx::env::durability &value) |
|
string | std::to_string (const ::mdbx::env::reclaiming_options &value) |
|
string | std::to_string (const ::mdbx::env::operate_options &value) |
|
string | std::to_string (const ::mdbx::env_managed::create_parameters &value) |
|
string | std::to_string (const ::MDBX_log_level_t &value) |
|
string | std::to_string (const ::MDBX_debug_flags_t &value) |
|
string | std::to_string (const ::mdbx::error &value) |
|
string | std::to_string (const ::MDBX_error_t &errcode) |
|
The libmdbx C++ API header file.
- Author
- Copyright (c) 2020-2022, Leonid Yuriev leo@y.nosp@m.urie.nosp@m.v.ru.
- Copyright
- SPDX-License-Identifier: Apache-2.0
Tested with:
- Elbrus LCC >= 1.23 (http://www.mcst.ru/lcc);
- GNU C++ >= 4.8;
- clang >= 3.9;
- MSVC >= 14.0 (Visual Studio 2015), but 19.2x could hang due optimizer bug;
- AppleClang, but without C++20 concepts.