|
| cachedDBM (const char *f, char mode='w') |
|
void | init (const char *fname, char mode='w') |
|
void | Init (TCL_args args) |
|
void | close () |
|
bool | opened () const |
|
bool | load (const std::string &k) |
|
bool | key_exists (const std::string &k) const |
| returns true if key is in data base or added with [] operator
|
|
val & | operator[] (const std::string &k) |
|
val | elem (TCL_args args) |
|
size_t | cacheSize () const |
| number of elements in cache
|
|
void | clear () |
| clear the cache
|
|
void | commit () |
| write any changes out to the file, and clear some of the cache
|
|
void | del (std::string k) |
| delete entry associated with key k
|
|
std::string | firstkey () const |
| obtain first key for iteration through database. More...
|
|
std::string | nextkey () const |
| advance to next key in database
|
|
bool | eof () const |
| true if no further keys remain when iterating
|
|
void | pack (classdesc::pack_t &b) |
|
void | unpack (classdesc::pack_t &b) |
|
KeyValueIterator | begin () const |
|
KeyValueIterator | begin () |
|
KeyValueIterator | end () const |
|
|
size_t | max_elem |
|
Keys | keys |
| access an iterator range of keys [keys.begin()...keys.end())
|
|
void | set (const std::string &k, Datum &v) |
|
val & | get (const std::string &k) |
|
The documentation for this class was generated from the following file: