NERsuite
1.1.1
|
#include <cdbpp.h>
Classes | |
struct | bucket_t |
struct | hashtable_t |
Public Member Functions | |
cdbpp_base () | |
cdbpp_base (const void *buffer, size_t size, bool own) | |
cdbpp_base (std::ifstream &ifs) | |
virtual | ~cdbpp_base () |
bool | is_open () const |
size_t | size () const |
bool | empty () const |
size_t | open (std::ifstream &ifs) |
size_t | open (const void *buffer, size_t size, bool own=false) |
void | close () |
const void * | get (const void *key, size_t ksize, size_t *vsize) const |
Protected Member Functions | |
uint32_t | read_uint32 (const uint8_t *p) const |
Protected Attributes | |
const uint8_t * | m_buffer |
size_t | m_size |
bool | m_own |
hashtable_t | m_ht [NUM_TABLES] |
size_t | m_n |
CDB++ reader.