Classes |
class | cdbpp::murmurhash2 |
struct | cdbpp::tableref_t |
class | cdbpp::builder_exception |
class | cdbpp::builder_base< hash_function > |
struct | cdbpp::builder_base< hash_function >::bucket |
class | cdbpp::cdbpp_exception |
class | cdbpp::cdbpp_base< hash_function > |
struct | cdbpp::cdbpp_base< hash_function >::bucket_t |
struct | cdbpp::cdbpp_base< hash_function >::hashtable_t |
Typedefs |
typedef std::vector< bucket > | cdbpp::builder_base< hash_function >::hashtable |
typedef builder_base< murmurhash2 > | cdbpp::builder |
| CDB++ builder with MurmurHash2.
|
typedef cdbpp_base< murmurhash2 > | cdbpp::cdbpp |
| CDB++ reader with MurmurHash2.
|
Enumerations |
enum | { VERSION = 1,
NUM_TABLES = 256,
BYTEORDER_CHECK = 0x62445371
} |
Functions |
static uint32_t | cdbpp::murmurhash2::get32bits (const char *d) |
uint32_t | cdbpp::murmurhash2::operator() (const void *key, size_t size) const |
static uint32_t | cdbpp::get_data_begin () |
| cdbpp::builder_exception::builder_exception (const std::string &msg) |
| cdbpp::builder_base< hash_function >::bucket::bucket (uint32_t h, uint32_t o) |
| cdbpp::builder_base< hash_function >::builder_base (std::ofstream &os) |
virtual | cdbpp::builder_base< hash_function >::~builder_base () |
template<class key_t , class value_t > |
void | cdbpp::builder_base< hash_function >::put (const key_t *key, size_t ksize, const value_t *value, size_t vsize) |
void | cdbpp::builder_base< hash_function >::close () |
void | cdbpp::builder_base< hash_function >::write_uint32 (uint32_t value) |
| cdbpp::cdbpp_exception::cdbpp_exception (const std::string &msg) |
| cdbpp::cdbpp_base< hash_function >::cdbpp_base () |
| cdbpp::cdbpp_base< hash_function >::cdbpp_base (const void *buffer, size_t size, bool own) |
| cdbpp::cdbpp_base< hash_function >::cdbpp_base (std::ifstream &ifs) |
virtual | cdbpp::cdbpp_base< hash_function >::~cdbpp_base () |
bool | cdbpp::cdbpp_base< hash_function >::is_open () const |
size_t | cdbpp::cdbpp_base< hash_function >::size () const |
bool | cdbpp::cdbpp_base< hash_function >::empty () const |
size_t | cdbpp::cdbpp_base< hash_function >::open (std::ifstream &ifs) |
size_t | cdbpp::cdbpp_base< hash_function >::open (const void *buffer, size_t size, bool own=false) |
void | cdbpp::cdbpp_base< hash_function >::close () |
const void * | cdbpp::cdbpp_base< hash_function >::get (const void *key, size_t ksize, size_t *vsize) const |
uint32_t | cdbpp::cdbpp_base< hash_function >::read_uint32 (const uint8_t *p) const |
Variables |
uint32_t | cdbpp::tableref_t::offset |
uint32_t | cdbpp::tableref_t::num |
uint32_t | cdbpp::builder_base< hash_function >::bucket::hash |
uint32_t | cdbpp::builder_base< hash_function >::bucket::offset |
std::ofstream & | cdbpp::builder_base< hash_function >::m_os |
uint32_t | cdbpp::builder_base< hash_function >::m_begin |
uint32_t | cdbpp::builder_base< hash_function >::m_cur |
hashtable | cdbpp::builder_base< hash_function >::m_ht [NUM_TABLES] |
uint32_t | cdbpp::cdbpp_base< hash_function >::bucket_t::hash |
uint32_t | cdbpp::cdbpp_base< hash_function >::bucket_t::offset |
uint32_t | cdbpp::cdbpp_base< hash_function >::hashtable_t::num |
const bucket_t * | cdbpp::cdbpp_base< hash_function >::hashtable_t::buckets |
const uint8_t * | cdbpp::cdbpp_base< hash_function >::m_buffer |
size_t | cdbpp::cdbpp_base< hash_function >::m_size |
bool | cdbpp::cdbpp_base< hash_function >::m_own |
hashtable_t | cdbpp::cdbpp_base< hash_function >::m_ht [NUM_TABLES] |
size_t | cdbpp::cdbpp_base< hash_function >::m_n |
The CDB++ API.