Struct mdbx::value_result
ClassList > mdbx > value_result
Combines data slice with boolean flag to represent result of certain operations.
#include <mdbx.h++>
Public Attributes
| Type | Name |
|---|---|
| bool | done true when the operation has found/produced the value. |
| slice | value The resulting data slice. |
Public Functions
| Type | Name |
|---|---|
| value_result & | operator= (const value_result &) noexcept Copy assignment operator. |
| value_result (const slice & value, bool done) noexcept Constructs the result. |
|
| value_result (const value_result &) noexcept Copy constructor. |
Public Attributes Documentation
variable done
true when the operation has found/produced the value.
bool mdbx::value_result::done;
variable value
The resulting data slice.
slice mdbx::value_result::value;
Public Functions Documentation
function operator=
Copy assignment operator.
value_result & mdbx::value_result::operator= (
const value_result &
) noexcept
Returns:
A reference to this instance.
function value_result [1/2]
Constructs the result.
inline mdbx::value_result::value_result (
const slice & value,
bool done
) noexcept
Parameters:
valueThe resulting data slice.donetruewhen the operation has found/produced the value.
function value_result [2/2]
Copy constructor.
mdbx::value_result::value_result (
const value_result &
) noexcept
The documentation for this class was generated from the following file mdbx.h++