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 242 of file IceDB.h.

Constructor & Destructor Documentation

◆ Dbi() [1/2]

Dbi ( const Txn txn,
const std::string &  name,
const C &  ctx,
unsigned int  flags = 0,
MDB_cmp_func *  cmp = 0 
)
inline

Definition at line 246 of file IceDB.h.

◆ Dbi() [2/2]

Dbi ( )
inline

Definition at line 252 of file IceDB.h.

Member Function Documentation

◆ del() [1/2]

bool del ( const ReadWriteTxn txn,
const K &  key 
)
inline

Definition at line 322 of file IceDB.h.

◆ del() [2/2]

bool del ( const ReadWriteTxn txn,
const K &  key,
const D &  data 
)
inline

Definition at line 305 of file IceDB.h.

+ Here is the caller graph for this function:

◆ find()

bool find ( const Txn txn,
const K &  key 
) const
inline

Definition at line 291 of file IceDB.h.

+ Here is the caller graph for this function:

◆ get()

bool get ( const Txn txn,
const K &  key,
D &  data 
) const
inline

Definition at line 256 of file IceDB.h.

+ Here is the caller graph for this function:

◆ marshalingContext()

C marshalingContext ( ) const
inline

Definition at line 336 of file IceDB.h.

◆ put()

void put ( const ReadWriteTxn txn,
const K &  key,
const D &  data,
unsigned int  flags = 0 
)
inline

Definition at line 273 of file IceDB.h.

+ Here is the caller graph for this function:

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