#include <BerkeleyDBStore.h>
Definition at line 179 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 182 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 190 of file BerkeleyDBStore.h.
References dbt_.
oasys::DBTRef::~DBTRef | ( | ) | [inline] |
If any data was malloc'd in the key, free it.
Definition at line 199 of file BerkeleyDBStore.h.
References dbt_.
DBT* oasys::DBTRef::dbt | ( | ) | [inline] |
Return a pointer to the underlying DBT structure.
Definition at line 212 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 218 of file BerkeleyDBStore.h.
Referenced by dbt(), DBTRef(), operator->(), and ~DBTRef().