Db Class Reference
Collaboration diagram for Db:
Collaboration graph

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)
 

Member Function Documentation

◆ firstkey()

bool Db::firstkey ( ecolab::Datum key,
ecolab::Datum val 
) const

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