NERsuite  1.1.1
Classes | Public Member Functions | Protected Member Functions | Protected Attributes
cdbpp::cdbpp_base< hash_function > Class Template Reference

#include <cdbpp.h>

List of all members.

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

Detailed Description

template<typename hash_function>
class cdbpp::cdbpp_base< hash_function >

CDB++ reader.


The documentation for this class was generated from the following file:
 All Classes Functions Variables