Public Types | |
enum | rw { read, write } |
Public Member Functions | |
void | open (const char *filename, rw readwrite) |
void | close () |
void | flush () |
flush to disk | |
bool | fetch (const ecolab::Datum &key, ecolab::Datum &val) const |
void | store (const ecolab::Datum &key, const ecolab::Datum &val) |
void | del (const ecolab::Datum &key) |
bool | firstkey (ecolab::Datum &key, ecolab::Datum &val) const |
bool | nextkey (ecolab::Datum &key, ecolab::Datum &val) const |
bool | opened () const |
Db (const char *f, rw rdwr) | |
bool Db::firstkey | ( | ecolab::Datum & | key, |
ecolab::Datum & | val | ||
) | const |
for iterating over database
Referenced by ecolab::cachedDBM_base< key, val >::KeyValueIterator::KeyValueIterator().