NCBI C++ ToolKit
Classes | Typedefs | Functions
lmdb Namespace Reference

<lmdb++.h> - C++11 wrapper for LMDB. More...

Classes

class  error
 Base class for LMDB exception conditions. More...
 
class  logic_error
 Base class for logic error conditions. More...
 
class  fatal_error
 Base class for fatal error conditions. More...
 
class  runtime_error
 Base class for runtime error conditions. More...
 
class  key_exist_error
 Exception class for `MDB_KEYEXIST` errors. More...
 
class  not_found_error
 Exception class for `MDB_NOTFOUND` errors. More...
 
class  corrupted_error
 Exception class for `MDB_CORRUPTED` errors. More...
 
class  panic_error
 Exception class for `MDB_PANIC` errors. More...
 
class  version_mismatch_error
 Exception class for `MDB_VERSION_MISMATCH` errors. More...
 
class  map_full_error
 Exception class for `MDB_MAP_FULL` errors. More...
 
class  bad_dbi_error
 Exception class for `MDB_BAD_DBI` errors. More...
 
class  val
 Wrapper class for `MDB_val` structures. More...
 
class  env
 Resource class for `MDB_env*` handles. More...
 
class  txn
 Resource class for `MDB_txn*` handles. More...
 
class  dbi
 Resource class for `MDB_dbi` handles. More...
 
class  cursor
 Resource class for `MDB_cursor*` handles. More...
 

Typedefs

using mode = mdb_mode_t
 

Functions

static void env_create (MDB_env **env)
 
static void env_open (MDB_env *env, const char *path, unsigned int flags, mode mode)
 
static void env_copy (MDB_env *env, const char *path, unsigned int flags)
 
static void env_copy_fd (MDB_env *env, mdb_filehandle_t fd, unsigned int flags)
 
static void env_stat (MDB_env *env, MDB_stat *stat)
 
static void env_info (MDB_env *env, MDB_envinfo *stat)
 
static void env_sync (MDB_env *env, bool force)
 
static void env_close (MDB_env *env) noexcept
 
static void env_set_flags (MDB_env *env, unsigned int flags, bool onoff)
 
static void env_get_flags (MDB_env *env, unsigned int *flags)
 
static void env_get_path (MDB_env *env, const char **path)
 
static void env_get_fd (MDB_env *env, mdb_filehandle_t *fd)
 
static void env_set_mapsize (MDB_env *env, std::size_t size)
 
static void env_set_max_readers (MDB_env *env, unsigned int count)
 
static void env_get_max_readers (MDB_env *env, unsigned int *count)
 
static void env_set_max_dbs (MDB_env *env, MDB_dbi count)
 
static unsigned int env_get_max_keysize (MDB_env *env)
 
static void env_set_userctx (MDB_env *env, void *ctx)
 
static void * env_get_userctx (MDB_env *env)
 
static void txn_begin (MDB_env *env, MDB_txn *parent, unsigned int flags, MDB_txn **txn)
 
static MDB_envtxn_env (MDB_txn *txn) noexcept
 
static void txn_commit (MDB_txn *txn)
 
static void txn_abort (MDB_txn *txn) noexcept
 
static void txn_reset (MDB_txn *txn) noexcept
 
static void txn_renew (MDB_txn *txn)
 
static void dbi_open (MDB_txn *txn, const char *name, unsigned int flags, MDB_dbi *dbi)
 
static void dbi_stat (MDB_txn *txn, MDB_dbi dbi, MDB_stat *stat)
 
static void dbi_flags (MDB_txn *txn, MDB_dbi dbi, unsigned int *flags)
 
static void dbi_close (MDB_env *env, MDB_dbi dbi) noexcept
 
static void dbi_drop (MDB_txn *txn, MDB_dbi dbi, bool del)
 
static void dbi_set_compare (MDB_txn *txn, MDB_dbi dbi, MDB_cmp_func *cmp)
 
static void dbi_set_dupsort (MDB_txn *txn, MDB_dbi dbi, MDB_cmp_func *cmp)
 
static void dbi_set_relfunc (MDB_txn *txn, MDB_dbi dbi, MDB_rel_func *rel)
 
static void dbi_set_relctx (MDB_txn *txn, MDB_dbi dbi, void *ctx)
 
static bool dbi_get (MDB_txn *txn, MDB_dbi dbi, const MDB_val *key, MDB_val *data)
 
static bool dbi_put (MDB_txn *txn, MDB_dbi dbi, const MDB_val *key, MDB_val *data, unsigned int flags)
 
static bool dbi_del (MDB_txn *txn, MDB_dbi dbi, const MDB_val *key, const MDB_val *data)
 
static void cursor_open (MDB_txn *txn, MDB_dbi dbi, MDB_cursor **cursor)
 
static void cursor_close (MDB_cursor *cursor) noexcept
 
static void cursor_renew (MDB_txn *txn, MDB_cursor *cursor)
 
static MDB_txncursor_txn (MDB_cursor *cursor) noexcept
 
static MDB_dbi cursor_dbi (MDB_cursor *cursor) noexcept
 
static bool cursor_get (MDB_cursor *cursor, MDB_val *key, MDB_val *data, MDB_cursor_op op)
 
static void cursor_put (MDB_cursor *cursor, MDB_val *key, MDB_val *data, unsigned int flags)
 
static void cursor_del (MDB_cursor *cursor, unsigned int flags)
 
static void cursor_count (MDB_cursor *cursor, std::size_t &count)
 
static void env_create (MDB_env **env)
 
static void env_open (MDB_env *env, const char *path, unsigned int flags, mode mode)
 
static void env_copy (MDB_env *env, const char *path, unsigned int flags)
 
static void env_copy_fd (MDB_env *env, mdb_filehandle_t fd, unsigned int flags)
 
static void env_stat (MDB_env *env, MDB_stat *stat)
 
static void env_info (MDB_env *env, MDB_envinfo *stat)
 
static void env_sync (MDB_env *env, bool force)
 
static void env_close (MDB_env *env) noexcept
 
static void env_set_flags (MDB_env *env, unsigned int flags, bool onoff)
 
static void env_get_flags (MDB_env *env, unsigned int *flags)
 
static void env_get_path (MDB_env *env, const char **path)
 
static void env_get_fd (MDB_env *env, mdb_filehandle_t *fd)
 
static void env_set_mapsize (MDB_env *env, std::size_t size)
 
static void env_set_max_readers (MDB_env *env, unsigned int count)
 
static void env_get_max_readers (MDB_env *env, unsigned int *count)
 
static void env_set_max_dbs (MDB_env *env, MDB_dbi count)
 
static unsigned int env_get_max_keysize (MDB_env *env)
 
static void env_set_userctx (MDB_env *env, void *ctx)
 
static void * env_get_userctx (MDB_env *env)
 
static void txn_begin (MDB_env *env, MDB_txn *parent, unsigned int flags, MDB_txn **txn)
 
static MDB_envtxn_env (MDB_txn *txn) noexcept
 
static void txn_commit (MDB_txn *txn)
 
static void txn_abort (MDB_txn *txn) noexcept
 
static void txn_reset (MDB_txn *txn) noexcept
 
static void txn_renew (MDB_txn *txn)
 
static void dbi_open (MDB_txn *txn, const char *name, unsigned int flags, MDB_dbi *dbi)
 
static void dbi_stat (MDB_txn *txn, MDB_dbi dbi, MDB_stat *stat)
 
static void dbi_flags (MDB_txn *txn, MDB_dbi dbi, unsigned int *flags)
 
static void dbi_close (MDB_env *env, MDB_dbi dbi) noexcept
 
static void dbi_drop (MDB_txn *txn, MDB_dbi dbi, bool del)
 
static void dbi_set_compare (MDB_txn *txn, MDB_dbi dbi, MDB_cmp_func *cmp)
 
static void dbi_set_dupsort (MDB_txn *txn, MDB_dbi dbi, MDB_cmp_func *cmp)
 
static void dbi_set_relfunc (MDB_txn *txn, MDB_dbi dbi, MDB_rel_func *rel)
 
static void dbi_set_relctx (MDB_txn *txn, MDB_dbi dbi, void *ctx)
 
static bool dbi_get (MDB_txn *txn, MDB_dbi dbi, const MDB_val *key, MDB_val *data)
 
static bool dbi_put (MDB_txn *txn, MDB_dbi dbi, const MDB_val *key, const MDB_val *data, unsigned int flags)
 
static bool dbi_del (MDB_txn *txn, MDB_dbi dbi, const MDB_val *key, const MDB_val *data)
 
static void cursor_open (MDB_txn *txn, MDB_dbi dbi, MDB_cursor **cursor)
 
static void cursor_close (MDB_cursor *cursor) noexcept
 
static void cursor_renew (MDB_txn *txn, MDB_cursor *cursor)
 
static MDB_txncursor_txn (MDB_cursor *cursor) noexcept
 
static MDB_dbi cursor_dbi (MDB_cursor *cursor) noexcept
 
static bool cursor_get (MDB_cursor *cursor, MDB_val *key, MDB_val *data, MDB_cursor_op op)
 
static void cursor_put (MDB_cursor *cursor, MDB_val *key, MDB_val *data, unsigned int flags)
 
static void cursor_del (MDB_cursor *cursor, unsigned int flags)
 
static void cursor_count (MDB_cursor *cursor, std::size_t &count)
 

Detailed Description

<lmdb++.h> - C++11 wrapper for LMDB.

Author
Arto Bendiken arto@.nosp@m.bend.nosp@m.iken..nosp@m.net
See also
https://sourceforge.net/projects/lmdbxx/

Typedef Documentation

◆ mode

Function Documentation

◆ cursor_close() [1/2]

static void lmdb::cursor_close ( MDB_cursor cursor)
inlinestaticnoexcept

◆ cursor_close() [2/2]

static void lmdb::cursor_close ( MDB_cursor cursor)
inlinestaticnoexcept

◆ cursor_count() [1/2]

static void lmdb::cursor_count ( MDB_cursor cursor,
std::size_t &  count 
)
inlinestatic

◆ cursor_count() [2/2]

static void lmdb::cursor_count ( MDB_cursor cursor,
std::size_t &  count 
)
inlinestatic

◆ cursor_dbi() [1/2]

static MDB_dbi lmdb::cursor_dbi ( MDB_cursor cursor)
inlinestaticnoexcept

◆ cursor_dbi() [2/2]

static MDB_dbi lmdb::cursor_dbi ( MDB_cursor cursor)
inlinestaticnoexcept

◆ cursor_del() [1/2]

static void lmdb::cursor_del ( MDB_cursor cursor,
unsigned int  flags = 0 
)
inlinestatic

◆ cursor_del() [2/2]

static void lmdb::cursor_del ( MDB_cursor cursor,
unsigned int  flags = 0 
)
inlinestatic

◆ cursor_get() [1/2]

static bool lmdb::cursor_get ( MDB_cursor cursor,
MDB_val key,
MDB_val data,
MDB_cursor_op  op 
)
inlinestatic

◆ cursor_get() [2/2]

static bool lmdb::cursor_get ( MDB_cursor cursor,
MDB_val key,
MDB_val data,
MDB_cursor_op  op 
)
inlinestatic

◆ cursor_open() [1/2]

static void lmdb::cursor_open ( MDB_txn txn,
MDB_dbi  dbi,
MDB_cursor **  cursor 
)
inlinestatic

◆ cursor_open() [2/2]

static void lmdb::cursor_open ( MDB_txn txn,
MDB_dbi  dbi,
MDB_cursor **  cursor 
)
inlinestatic

◆ cursor_put() [1/2]

static void lmdb::cursor_put ( MDB_cursor cursor,
MDB_val key,
MDB_val data,
unsigned int  flags = 0 
)
inlinestatic

◆ cursor_put() [2/2]

static void lmdb::cursor_put ( MDB_cursor cursor,
MDB_val key,
MDB_val data,
unsigned int  flags = 0 
)
inlinestatic

◆ cursor_renew() [1/2]

static void lmdb::cursor_renew ( MDB_txn txn,
MDB_cursor cursor 
)
inlinestatic

◆ cursor_renew() [2/2]

static void lmdb::cursor_renew ( MDB_txn txn,
MDB_cursor cursor 
)
inlinestatic

◆ cursor_txn() [1/2]

static MDB_txn * lmdb::cursor_txn ( MDB_cursor cursor)
inlinestaticnoexcept

◆ cursor_txn() [2/2]

static MDB_txn * lmdb::cursor_txn ( MDB_cursor cursor)
inlinestaticnoexcept

◆ dbi_close() [1/2]

static void lmdb::dbi_close ( MDB_env env,
MDB_dbi  dbi 
)
inlinestaticnoexcept

◆ dbi_close() [2/2]

static void lmdb::dbi_close ( MDB_env env,
MDB_dbi  dbi 
)
inlinestaticnoexcept

◆ dbi_del() [1/2]

static bool lmdb::dbi_del ( MDB_txn txn,
MDB_dbi  dbi,
const MDB_val key,
const MDB_val data = nullptr 
)
inlinestatic
Return values
trueif the key/value pair was removed
falseif the key wasn't found
See also
http://symas.com/mdb/doc/group__mdb.html#gab8182f9360ea69ac0afd4a4eaab1ddb0

Definition at line 801 of file lmdb++.h.

References data, ncbi::grid::netcache::search::fields::key, mdb_del(), MDB_NOTFOUND, MDB_SUCCESS, and lmdb::error::raise().

Referenced by lmdb::dbi::del().

◆ dbi_del() [2/2]

static bool lmdb::dbi_del ( MDB_txn txn,
MDB_dbi  dbi,
const MDB_val key,
const MDB_val data = nullptr 
)
inlinestatic
Return values
trueif the key/value pair was removed
falseif the key wasn't found
See also
http://symas.com/mdb/doc/group__mdb.html#gab8182f9360ea69ac0afd4a4eaab1ddb0

Definition at line 870 of file lmdb++.h.

References data, ncbi::grid::netcache::search::fields::key, mdb_del(), MDB_NOTFOUND, MDB_SUCCESS, and lmdb::error::raise().

◆ dbi_drop() [1/2]

static void lmdb::dbi_drop ( MDB_txn txn,
MDB_dbi  dbi,
bool  del = false 
)
inlinestatic

◆ dbi_drop() [2/2]

static void lmdb::dbi_drop ( MDB_txn txn,
MDB_dbi  dbi,
bool  del = false 
)
inlinestatic

◆ dbi_flags() [1/2]

static void lmdb::dbi_flags ( MDB_txn txn,
MDB_dbi  dbi,
unsigned int flags 
)
inlinestatic

◆ dbi_flags() [2/2]

static void lmdb::dbi_flags ( MDB_txn txn,
MDB_dbi  dbi,
unsigned int flags 
)
inlinestatic

◆ dbi_get() [1/2]

static bool lmdb::dbi_get ( MDB_txn txn,
MDB_dbi  dbi,
const MDB_val key,
MDB_val data 
)
inlinestatic
Return values
trueif the key/value pair was retrieved
falseif the key wasn't found
See also
http://symas.com/mdb/doc/group__mdb.html#ga8bf10cd91d3f3a83a34d04ce6b07992d

Definition at line 766 of file lmdb++.h.

References data, ncbi::grid::netcache::search::fields::key, mdb_get(), MDB_NOTFOUND, MDB_SUCCESS, and lmdb::error::raise().

Referenced by lmdb::dbi::get().

◆ dbi_get() [2/2]

static bool lmdb::dbi_get ( MDB_txn txn,
MDB_dbi  dbi,
const MDB_val key,
MDB_val data 
)
inlinestatic
Return values
trueif the key/value pair was retrieved
falseif the key wasn't found
See also
http://symas.com/mdb/doc/group__mdb.html#ga8bf10cd91d3f3a83a34d04ce6b07992d

Definition at line 835 of file lmdb++.h.

References data, ncbi::grid::netcache::search::fields::key, mdb_get(), MDB_NOTFOUND, MDB_SUCCESS, and lmdb::error::raise().

◆ dbi_open() [1/2]

static void lmdb::dbi_open ( MDB_txn txn,
const char *  name,
unsigned int  flags,
MDB_dbi dbi 
)
inlinestatic

◆ dbi_open() [2/2]

static void lmdb::dbi_open ( MDB_txn txn,
const char *  name,
unsigned int  flags,
MDB_dbi dbi 
)
inlinestatic

◆ dbi_put() [1/2]

static bool lmdb::dbi_put ( MDB_txn txn,
MDB_dbi  dbi,
const MDB_val key,
const MDB_val data,
unsigned int  flags = 0 
)
inlinestatic
Return values
trueif the key/value pair was inserted
falseif the key already existed
See also
http://symas.com/mdb/doc/group__mdb.html#ga4fa8573d9236d54687c61827ebf8cac0

Definition at line 852 of file lmdb++.h.

References data, flags, ncbi::grid::netcache::search::fields::key, MDB_KEYEXIST, mdb_put(), MDB_SUCCESS, and lmdb::error::raise().

◆ dbi_put() [2/2]

static bool lmdb::dbi_put ( MDB_txn txn,
MDB_dbi  dbi,
const MDB_val key,
MDB_val data,
unsigned int  flags = 0 
)
inlinestatic

◆ dbi_set_compare() [1/2]

static void lmdb::dbi_set_compare ( MDB_txn txn,
MDB_dbi  dbi,
MDB_cmp_func cmp = nullptr 
)
inlinestatic

◆ dbi_set_compare() [2/2]

static void lmdb::dbi_set_compare ( MDB_txn txn,
MDB_dbi  dbi,
MDB_cmp_func cmp = nullptr 
)
inlinestatic

◆ dbi_set_dupsort() [1/2]

static void lmdb::dbi_set_dupsort ( MDB_txn txn,
MDB_dbi  dbi,
MDB_cmp_func cmp = nullptr 
)
inlinestatic

◆ dbi_set_dupsort() [2/2]

static void lmdb::dbi_set_dupsort ( MDB_txn txn,
MDB_dbi  dbi,
MDB_cmp_func cmp = nullptr 
)
inlinestatic

◆ dbi_set_relctx() [1/2]

static void lmdb::dbi_set_relctx ( MDB_txn txn,
MDB_dbi  dbi,
void *  ctx 
)
inlinestatic

◆ dbi_set_relctx() [2/2]

static void lmdb::dbi_set_relctx ( MDB_txn txn,
MDB_dbi  dbi,
void *  ctx 
)
inlinestatic

◆ dbi_set_relfunc() [1/2]

static void lmdb::dbi_set_relfunc ( MDB_txn txn,
MDB_dbi  dbi,
MDB_rel_func rel 
)
inlinestatic

◆ dbi_set_relfunc() [2/2]

static void lmdb::dbi_set_relfunc ( MDB_txn txn,
MDB_dbi  dbi,
MDB_rel_func rel 
)
inlinestatic

◆ dbi_stat() [1/2]

static void lmdb::dbi_stat ( MDB_txn txn,
MDB_dbi  dbi,
MDB_stat stat 
)
inlinestatic

◆ dbi_stat() [2/2]

static void lmdb::dbi_stat ( MDB_txn txn,
MDB_dbi  dbi,
MDB_stat stat 
)
inlinestatic

◆ env_close() [1/2]

static void lmdb::env_close ( MDB_env env)
inlinestaticnoexcept

◆ env_close() [2/2]

static void lmdb::env_close ( MDB_env env)
inlinestaticnoexcept

◆ env_copy() [1/2]

static void lmdb::env_copy ( MDB_env env,
const char *  path,
unsigned int  flags = 0 
)
inlinestatic

◆ env_copy() [2/2]

static void lmdb::env_copy ( MDB_env env,
const char *  path,
unsigned int  flags = 0 
)
inlinestatic

◆ env_copy_fd() [1/2]

static void lmdb::env_copy_fd ( MDB_env env,
mdb_filehandle_t  fd,
unsigned int  flags = 0 
)
inlinestatic

◆ env_copy_fd() [2/2]

static void lmdb::env_copy_fd ( MDB_env env,
mdb_filehandle_t  fd,
unsigned int  flags = 0 
)
inlinestatic

◆ env_create() [1/2]

static void lmdb::env_create ( MDB_env **  env)
inlinestatic

◆ env_create() [2/2]

static void lmdb::env_create ( MDB_env **  env)
inlinestatic

◆ env_get_fd() [1/2]

static void lmdb::env_get_fd ( MDB_env env,
mdb_filehandle_t fd 
)
inlinestatic

◆ env_get_fd() [2/2]

static void lmdb::env_get_fd ( MDB_env env,
mdb_filehandle_t fd 
)
inlinestatic

◆ env_get_flags() [1/2]

static void lmdb::env_get_flags ( MDB_env env,
unsigned int flags 
)
inlinestatic

◆ env_get_flags() [2/2]

static void lmdb::env_get_flags ( MDB_env env,
unsigned int flags 
)
inlinestatic

◆ env_get_max_keysize() [1/2]

static unsigned int lmdb::env_get_max_keysize ( MDB_env env)
inlinestatic

◆ env_get_max_keysize() [2/2]

static unsigned int lmdb::env_get_max_keysize ( MDB_env env)
inlinestatic

◆ env_get_max_readers() [1/2]

static void lmdb::env_get_max_readers ( MDB_env env,
unsigned int count 
)
inlinestatic

◆ env_get_max_readers() [2/2]

static void lmdb::env_get_max_readers ( MDB_env env,
unsigned int count 
)
inlinestatic

◆ env_get_path() [1/2]

static void lmdb::env_get_path ( MDB_env env,
const char **  path 
)
inlinestatic

◆ env_get_path() [2/2]

static void lmdb::env_get_path ( MDB_env env,
const char **  path 
)
inlinestatic

◆ env_get_userctx() [1/2]

static void * lmdb::env_get_userctx ( MDB_env env)
inlinestatic
Since
0.9.11 (2014/01/15)
See also
http://symas.com/mdb/doc/group__mdb.html#ga45df6a4fb150cda2316b5ae224ba52f1

Definition at line 524 of file lmdb++.h.

References mdb_env_get_userctx().

◆ env_get_userctx() [2/2]

static void * lmdb::env_get_userctx ( MDB_env env)
inlinestatic
Since
0.9.11 (2014/01/15)
See also
http://symas.com/mdb/doc/group__mdb.html#ga45df6a4fb150cda2316b5ae224ba52f1

Definition at line 593 of file lmdb++.h.

References mdb_env_get_userctx().

◆ env_info() [1/2]

static void lmdb::env_info ( MDB_env env,
MDB_envinfo stat 
)
inlinestatic

◆ env_info() [2/2]

static void lmdb::env_info ( MDB_env env,
MDB_envinfo stat 
)
inlinestatic

◆ env_open() [1/2]

static void lmdb::env_open ( MDB_env env,
const char *  path,
unsigned int  flags,
mode  mode 
)
inlinestatic

◆ env_open() [2/2]

static void lmdb::env_open ( MDB_env env,
const char *  path,
unsigned int  flags,
mode  mode 
)
inlinestatic

◆ env_set_flags() [1/2]

static void lmdb::env_set_flags ( MDB_env env,
unsigned int  flags,
bool  onoff = true 
)
inlinestatic

◆ env_set_flags() [2/2]

static void lmdb::env_set_flags ( MDB_env env,
unsigned int  flags,
bool  onoff = true 
)
inlinestatic

◆ env_set_mapsize() [1/2]

static void lmdb::env_set_mapsize ( MDB_env env,
std::size_t  size 
)
inlinestatic

◆ env_set_mapsize() [2/2]

static void lmdb::env_set_mapsize ( MDB_env env,
std::size_t  size 
)
inlinestatic

◆ env_set_max_dbs() [1/2]

static void lmdb::env_set_max_dbs ( MDB_env env,
MDB_dbi  count 
)
inlinestatic

◆ env_set_max_dbs() [2/2]

static void lmdb::env_set_max_dbs ( MDB_env env,
MDB_dbi  count 
)
inlinestatic

◆ env_set_max_readers() [1/2]

static void lmdb::env_set_max_readers ( MDB_env env,
unsigned int  count 
)
inlinestatic

◆ env_set_max_readers() [2/2]

static void lmdb::env_set_max_readers ( MDB_env env,
unsigned int  count 
)
inlinestatic

◆ env_set_userctx() [1/2]

static void lmdb::env_set_userctx ( MDB_env env,
void *  ctx 
)
inlinestatic
Exceptions
lmdb::erroron failure
Since
0.9.11 (2014/01/15)
See also
http://symas.com/mdb/doc/group__mdb.html#gaf2fe09eb9c96eeb915a76bf713eecc46

Definition at line 509 of file lmdb++.h.

References ctx, mdb_env_set_userctx(), MDB_SUCCESS, and lmdb::error::raise().

◆ env_set_userctx() [2/2]

static void lmdb::env_set_userctx ( MDB_env env,
void *  ctx 
)
inlinestatic
Exceptions
lmdb::erroron failure
Since
0.9.11 (2014/01/15)
See also
http://symas.com/mdb/doc/group__mdb.html#gaf2fe09eb9c96eeb915a76bf713eecc46

Definition at line 578 of file lmdb++.h.

References ctx, mdb_env_set_userctx(), MDB_SUCCESS, and lmdb::error::raise().

◆ env_stat() [1/2]

static void lmdb::env_stat ( MDB_env env,
MDB_stat stat 
)
inlinestatic

◆ env_stat() [2/2]

static void lmdb::env_stat ( MDB_env env,
MDB_stat stat 
)
inlinestatic

◆ env_sync() [1/2]

static void lmdb::env_sync ( MDB_env env,
bool  force = true 
)
inlinestatic

◆ env_sync() [2/2]

static void lmdb::env_sync ( MDB_env env,
bool  force = true 
)
inlinestatic

◆ txn_abort() [1/2]

static void lmdb::txn_abort ( MDB_txn txn)
inlinestaticnoexcept

◆ txn_abort() [2/2]

static void lmdb::txn_abort ( MDB_txn txn)
inlinestaticnoexcept

◆ txn_begin() [1/2]

static void lmdb::txn_begin ( MDB_env env,
MDB_txn parent,
unsigned int  flags,
MDB_txn **  txn 
)
inlinestatic

◆ txn_begin() [2/2]

static void lmdb::txn_begin ( MDB_env env,
MDB_txn parent,
unsigned int  flags,
MDB_txn **  txn 
)
inlinestatic

◆ txn_commit() [1/2]

static void lmdb::txn_commit ( MDB_txn txn)
inlinestatic

◆ txn_commit() [2/2]

static void lmdb::txn_commit ( MDB_txn txn)
inlinestatic

◆ txn_env() [1/2]

static MDB_env * lmdb::txn_env ( MDB_txn txn)
inlinestaticnoexcept

◆ txn_env() [2/2]

static MDB_env * lmdb::txn_env ( MDB_txn txn)
inlinestaticnoexcept

◆ txn_renew() [1/2]

static void lmdb::txn_renew ( MDB_txn txn)
inlinestatic

◆ txn_renew() [2/2]

static void lmdb::txn_renew ( MDB_txn txn)
inlinestatic

◆ txn_reset() [1/2]

static void lmdb::txn_reset ( MDB_txn txn)
inlinestaticnoexcept

◆ txn_reset() [2/2]

static void lmdb::txn_reset ( MDB_txn txn)
inlinestaticnoexcept
Modified on Wed Apr 24 14:11:27 2024 by modify_doxy.py rev. 669887