Wrapper class for MDB_val
structures.
More...
#include <lmdb++.h>
Wrapper class for MDB_val
structures.
- Note
- Instances of this class are movable and copyable both.
- See also
- http://symas.com/mdb/doc/group__mdb.html#structMDB__val
lmdb::val::val |
( |
const std::string & |
data | ) |
|
|
inlinenoexcept |
lmdb::val::val |
( |
const char *const |
data | ) |
|
|
inlinenoexcept |
lmdb::val::val |
( |
const void *const |
data, |
|
|
const std::size_t |
size |
|
) |
| |
|
inlinenoexcept |
lmdb::val::val |
( |
val && |
other | ) |
|
|
defaultnoexcept |
template<typename T >
val& lmdb::val::assign |
( |
const T *const |
data, |
|
|
const std::size_t |
size |
|
) |
| |
|
inlinenoexcept |
val& lmdb::val::assign |
( |
const char *const |
data | ) |
|
|
inlinenoexcept |
val& lmdb::val::assign |
( |
const std::string & |
data | ) |
|
|
inlinenoexcept |
Returns a pointer to the data;.
template<typename T >
const T* lmdb::val::data |
( |
| ) |
const |
|
inlinenoexcept |
Returns a pointer to the data;.
char* lmdb::val::data |
( |
| ) |
|
|
inlinenoexcept |
Returns a pointer to the data;.
const char* lmdb::val::data |
( |
| ) |
const |
|
inlinenoexcept |
Returns a pointer to the data;.
lmdb::val::operator const MDB_val * |
( |
| ) |
const |
|
inlinenoexcept |
Returns an MDB_val*
pointer.
lmdb::val::operator MDB_val * |
( |
| ) |
|
|
inlinenoexcept |
Returns an MDB_val*
pointer.
val& lmdb::val::operator= |
( |
val && |
other | ) |
|
|
defaultnoexcept |
Move assignment operator.
std::size_t lmdb::val::size |
( |
| ) |
const |
|
inlinenoexcept |
Returns the size of the data.
The documentation for this class was generated from the following file: