Dbi< K, D, C, H > Class Template Reference

#include <ArmarXCore/applications/ArmarXStorm/other_files/IceDB/IceDB.h>

+ Inheritance diagram for Dbi< K, D, C, H >:

Public Member Functions

 Dbi ()
 
 Dbi (const Txn &txn, const std::string &name, const C &ctx, unsigned int flags=0, MDB_cmp_func *cmp=0)
 
bool del (const ReadWriteTxn &txn, const K &key)
 
bool del (const ReadWriteTxn &txn, const K &key, const D &data)
 
bool find (const Txn &txn, const K &key) const
 
bool get (const Txn &txn, const K &key, D &data) const
 
marshalingContext () const
 
void put (const ReadWriteTxn &txn, const K &key, const D &data, unsigned int flags=0)
 
- Public Member Functions inherited from DbiBase
void clear (const ReadWriteTxn &)
 
MDB_dbi mdbi () const
 
virtual ~DbiBase ()
 

Additional Inherited Members

- Protected Member Functions inherited from DbiBase
 DbiBase ()
 
 DbiBase (const Txn &, const std::string &, unsigned int, MDB_cmp_func *)
 
bool del (const ReadWriteTxn &, MDB_val *, MDB_val *)
 
bool find (const Txn &, MDB_val *) const
 
bool get (const Txn &, MDB_val *, MDB_val *) const
 
void put (const ReadWriteTxn &, MDB_val *, MDB_val *, unsigned int)
 

Detailed Description

template<typename K, typename D, typename C, typename H>
class IceDB::Dbi< K, D, C, H >

Definition at line 226 of file IceDB.h.

Constructor & Destructor Documentation

◆ Dbi() [1/2]

template<typename K, typename D, typename C, typename H>
Dbi ( const Txn & txn,
const std::string & name,
const C & ctx,
unsigned int flags = 0,
MDB_cmp_func * cmp = 0 )
inline

Definition at line 229 of file IceDB.h.

◆ Dbi() [2/2]

template<typename K, typename D, typename C, typename H>
Dbi ( )
inline

Definition at line 238 of file IceDB.h.

Member Function Documentation

◆ del() [1/2]

template<typename K, typename D, typename C, typename H>
bool del ( const ReadWriteTxn & txn,
const K & key )
inline

Definition at line 313 of file IceDB.h.

◆ del() [2/2]

template<typename K, typename D, typename C, typename H>
bool del ( const ReadWriteTxn & txn,
const K & key,
const D & data )
inline

Definition at line 295 of file IceDB.h.

◆ find()

template<typename K, typename D, typename C, typename H>
bool find ( const Txn & txn,
const K & key ) const
inline

Definition at line 280 of file IceDB.h.

◆ get()

template<typename K, typename D, typename C, typename H>
bool get ( const Txn & txn,
const K & key,
D & data ) const
inline

Definition at line 243 of file IceDB.h.

+ Here is the caller graph for this function:

◆ marshalingContext()

template<typename K, typename D, typename C, typename H>
C marshalingContext ( ) const
inline

Definition at line 328 of file IceDB.h.

◆ put()

template<typename K, typename D, typename C, typename H>
void put ( const ReadWriteTxn & txn,
const K & key,
const D & data,
unsigned int flags = 0 )
inline

Definition at line 261 of file IceDB.h.

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: