|
| constexpr const version_info & | get_version () noexcept |
| | Returns libmdbx version information.
|
| constexpr const build_info & | get_build () noexcept |
| | Returns libmdbx build information.
|
| LIBMDBX_API void | throw_too_small_target_buffer () |
| LIBMDBX_API void | throw_max_length_exceeded () |
| LIBMDBX_API void | throw_out_range () |
| LIBMDBX_API void | throw_allocators_mismatch () |
| LIBMDBX_API void | throw_bad_value_size () |
| LIBMDBX_API void | throw_incomparable_cursors () |
| uint64_t | key_from_jsonInteger (int64_t json_integer) noexcept |
| | Value-to-Key functions to avoid using custom comparators.
|
| uint64_t | key_from_double (double ieee754_64bit) noexcept |
| uint64_t | key_from_ptrdouble (const double *const ieee754_64bit) noexcept |
| uint32_t | key_from_float (float ieee754_32bit) noexcept |
| uint32_t | key_from_ptrfloat (const float *const ieee754_32bit) noexcept |
| uint64_t | key_from_int64 (int64_t i64) noexcept |
| uint32_t | key_from_int32 (int32_t i32) noexcept |
| double | double_from_key (const slice &key) noexcept |
| | Key-to-Value functions to avoid using custom comparators.
|
| float | float_from_key (const slice &key) noexcept |
| int32_t | int32_from_key (const slice &key) noexcept |
| int64_t | int64_from_key (const slice &key) noexcept |
| int64_t | jsonInteger_from_key (const slice &key) noexcept |
| inline ::std::string | dump_val (const slice &value) |
| | Dumps the given value to a string: as-is when printable (all bytes in the range 0x20..0x7E), otherwise as a hexadecimal dump.
|
| MDBX_CXX01_CONSTEXPR_ENUM bool | is_usual (key_mode mode) noexcept |
| MDBX_CXX01_CONSTEXPR_ENUM bool | is_ordinal (key_mode mode) noexcept |
| MDBX_CXX01_CONSTEXPR_ENUM bool | is_samelength (key_mode mode) noexcept |
| MDBX_CXX01_CONSTEXPR_ENUM bool | is_reverse (key_mode mode) noexcept |
| MDBX_CXX01_CONSTEXPR_ENUM bool | is_msgpack (key_mode mode) noexcept |
| MDBX_CXX01_CONSTEXPR_ENUM bool | is_usual (value_mode mode) noexcept |
| MDBX_CXX01_CONSTEXPR_ENUM bool | is_multi (value_mode mode) noexcept |
| MDBX_CXX01_CONSTEXPR_ENUM bool | is_ordinal (value_mode mode) noexcept |
| MDBX_CXX01_CONSTEXPR_ENUM bool | is_samelength (value_mode mode) noexcept |
| MDBX_CXX01_CONSTEXPR_ENUM bool | is_reverse (value_mode mode) noexcept |
| MDBX_CXX01_CONSTEXPR_ENUM bool | is_msgpack (value_mode mode) noexcept |
| comparator | default_comparator (key_mode mode) noexcept |
| comparator | default_comparator (value_mode mode) noexcept |
| inline ::std::string | ratio2digits (uint64_t numerator, uint64_t denominator, int precision) |
| | Converts a fraction to a string of decimal digits without using floating-point operations.
|
| inline ::std::string | ratio2percents (uint64_t value, uint64_t whole) |
| | Converts a fraction to a percentage string without using floating-point operations.
|
| bool | is_readahead_reasonable (size_t volume, intptr_t redundancy) |
| | Quickly finds out whether readahead is reasonable for the given data volume and redundancy.
|
| MDBX_cmp_func | get_datacmp (MDBX_db_flags_t flags) |
| | Returns the built-in data (value) comparator for the given table flags, which is useful as a fallback when implementing custom comparators.
|
| int | setup_debug (MDBX_log_level_t log_level=MDBX_LOG_DONTCHANGE, MDBX_debug_flags_t debug_flags=MDBX_DBG_DONTCHANGE, MDBX_debug_func logger=nullptr) |
| | Sets up the global log-level, debug options and logger.
|
| int | setup_debug_nofmt (MDBX_log_level_t log_level, MDBX_debug_flags_t debug_flags, MDBX_debug_func_nofmt logger, char *logger_buffer, size_t logger_buffer_size) |
| | Sets up the global log-level, debug options and a logger for plain preformatted messages.
|
| void | set_panic (MDBX_panic_func func) |
| | Sets a callback for assertion failures, called before printing the message and aborting.
|
| constexpr bool | operator== (const error &a, const error &b) |
| constexpr bool | operator!= (const error &a, const error &b) |
| constexpr bool | operator== (const slice &a, const slice &b) |
| constexpr bool | operator< (const slice &a, const slice &b) |
| constexpr bool | operator> (const slice &a, const slice &b) |
| constexpr bool | operator<= (const slice &a, const slice &b) |
| constexpr bool | operator>= (const slice &a, const slice &b) |
| constexpr bool | operator!= (const slice &a, const slice &b) |
| template<class ALLOCATOR, typename CAPACITY_POLICY> |
| inline ::std::ostream & | operator<< (::std::ostream &out, const buffer< ALLOCATOR, CAPACITY_POLICY > &it) |
| | MDBX_EXTERN_API_TEMPLATE (LIBMDBX_API_TYPE, buffer< legacy_allocator, default_capacity_policy >) |
| | MDBX_EXTERN_API_TEMPLATE (LIBMDBX_API_TYPE, buffer< polymorphic_allocator, default_capacity_policy >) |
| template<class ALLOCATOR, class CAPACITY_POLICY, MutableByteProducer PRODUCER> |
| buffer< ALLOCATOR, CAPACITY_POLICY > | make_buffer (PRODUCER &producer, const ALLOCATOR &alloc) |
| template<class ALLOCATOR, class CAPACITY_POLICY, ImmutableByteProducer PRODUCER> |
| buffer< ALLOCATOR, CAPACITY_POLICY > | make_buffer (const PRODUCER &producer, const ALLOCATOR &alloc) |
| template<class ALLOCATOR, MutableByteProducer PRODUCER> |
| string< ALLOCATOR > | make_string (PRODUCER &producer, const ALLOCATOR &alloc) |
| template<class ALLOCATOR, ImmutableByteProducer PRODUCER> |
| string< ALLOCATOR > | make_string (const PRODUCER &producer, const ALLOCATOR &alloc) |
| constexpr bool | operator== (const pair &a, const pair &b) |
| constexpr bool | operator< (const pair &a, const pair &b) |
| constexpr bool | operator> (const pair &a, const pair &b) |
| constexpr bool | operator<= (const pair &a, const pair &b) |
| constexpr bool | operator>= (const pair &a, const pair &b) |
| constexpr bool | operator!= (const pair &a, const pair &b) |
| inline ::std::ostream & | operator<< (::std::ostream &out, const to_hex &wrapper) |
| inline ::std::ostream & | operator<< (::std::ostream &out, const to_base58 &wrapper) |
| inline ::std::ostream & | operator<< (::std::ostream &out, const to_base64 &wrapper) |
| int | compare_position_nothrow (const cursor &left, const cursor &right, bool ignore_nested=false) |
| int | compare_position (const cursor &left, const cursor &right, bool ignore_nested=false) |
| ptrdiff_t | estimate (const cursor &from, const cursor &to) |
| LIBMDBX_API::std::ostream & | operator<< (::std::ostream &, const slice &) |
| LIBMDBX_API::std::ostream & | operator<< (::std::ostream &, const pair &) |
| LIBMDBX_API::std::ostream & | operator<< (::std::ostream &, const pair_result &) |
| LIBMDBX_API::std::ostream & | operator<< (::std::ostream &, const env::geometry::size &) |
| LIBMDBX_API::std::ostream & | operator<< (::std::ostream &, const env::geometry &) |
| LIBMDBX_API::std::ostream & | operator<< (::std::ostream &, const env::operate_parameters &) |
| LIBMDBX_API::std::ostream & | operator<< (::std::ostream &, const env::mode &) |
| LIBMDBX_API::std::ostream & | operator<< (::std::ostream &, const env::durability &) |
| LIBMDBX_API::std::ostream & | operator<< (::std::ostream &, const env::reclaiming_options &) |
| LIBMDBX_API::std::ostream & | operator<< (::std::ostream &, const env::operate_options &) |
| LIBMDBX_API::std::ostream & | operator<< (::std::ostream &, const env_managed::create_parameters &) |
| LIBMDBX_API::std::ostream & | operator<< (::std::ostream &, const MDBX_log_level_t &) |
| LIBMDBX_API::std::ostream & | operator<< (::std::ostream &, const MDBX_debug_flags_t &) |
| LIBMDBX_API::std::ostream & | operator<< (::std::ostream &, const error &) |
| inline ::std::ostream & | operator<< (::std::ostream &out, const MDBX_error_t &errcode) |
The libmdbx C++ API namespace.