#include <BerkeleyDBStore.h>
Definition at line 200 of file BerkeleyDBStore.h.
Public Member Functions | |
| DBTRef () | |
| Initialize an empty key with the DB_DBT_REALLOC flag. | |
| DBTRef (void *data, size_t size) | |
| Initialize a key with the given data/len and the DB_DBT_USERMEM flag. | |
| ~DBTRef () | |
| If any data was malloc'd in the key, free it. | |
| DBT * | dbt () |
| Return a pointer to the underlying DBT structure. | |
| DBT * | operator-> () |
| Convenience operator overload. | |
Protected Attributes | |
| DBT | dbt_ |
| oasys::DBTRef::DBTRef | ( | ) | [inline] |
Initialize an empty key with the DB_DBT_REALLOC flag.
Definition at line 203 of file BerkeleyDBStore.h.
References dbt_.
| oasys::DBTRef::DBTRef | ( | void * | data, | |
| size_t | size | |||
| ) | [inline] |
Initialize a key with the given data/len and the DB_DBT_USERMEM flag.
Definition at line 211 of file BerkeleyDBStore.h.
References dbt_.
| oasys::DBTRef::~DBTRef | ( | ) | [inline] |
If any data was malloc'd in the key, free it.
Definition at line 220 of file BerkeleyDBStore.h.
References dbt_.
| DBT* oasys::DBTRef::dbt | ( | ) | [inline] |
Return a pointer to the underlying DBT structure.
Definition at line 233 of file BerkeleyDBStore.h.
References dbt_.
Referenced by oasys::BerkeleyDBTable::del(), oasys::BerkeleyDBStore::get_table_names(), oasys::BerkeleyDBTable::key_exists(), and oasys::BerkeleyDBTable::put().
| DBT* oasys::DBTRef::operator-> | ( | ) | [inline] |
DBT oasys::DBTRef::dbt_ [protected] |
Definition at line 239 of file BerkeleyDBStore.h.
Referenced by dbt(), DBTRef(), operator->(), and ~DBTRef().
1.5.1