Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Public Attributes | List of all members
leveldb_filterpolicy_t Struct Reference
Inheritance diagram for leveldb_filterpolicy_t:
Inheritance graph
[legend]
Collaboration diagram for leveldb_filterpolicy_t:
Collaboration graph
[legend]

Public Member Functions

virtual ~leveldb_filterpolicy_t ()
 
virtual const char * Name () const
 
virtual void CreateFilter (const Slice *keys, int n, std::string *dst) const
 
virtual bool KeyMayMatch (const Slice &key, const Slice &filter) const
 
- Public Member Functions inherited from leveldb::FilterPolicy
virtual ~FilterPolicy ()
 

Public Attributes

void * state_
 
void(* destructor_ )(void *)
 
const char *(* name_ )(void *)
 
char *(* create_ )(void *, const char *const *key_array, const size_t *key_length_array, int num_keys, size_t *filter_length)
 
unsigned char(* key_match_ )(void *, const char *key, size_t length, const char *filter, size_t filter_length)
 

Detailed Description

Definition at line 86 of file c.cc.

Constructor & Destructor Documentation

virtual leveldb_filterpolicy_t::~leveldb_filterpolicy_t ( )
inlinevirtual

Definition at line 100 of file c.cc.

Member Function Documentation

virtual void leveldb_filterpolicy_t::CreateFilter ( const Slice keys,
int  n,
std::string *  dst 
) const
inlinevirtual

Implements leveldb::FilterPolicy.

Definition at line 108 of file c.cc.

virtual bool leveldb_filterpolicy_t::KeyMayMatch ( const Slice key,
const Slice filter 
) const
inlinevirtual

Implements leveldb::FilterPolicy.

Definition at line 121 of file c.cc.

virtual const char* leveldb_filterpolicy_t::Name ( ) const
inlinevirtual

Implements leveldb::FilterPolicy.

Definition at line 104 of file c.cc.

Member Data Documentation

char*(* leveldb_filterpolicy_t::create_)(void *, const char *const *key_array, const size_t *key_length_array, int num_keys, size_t *filter_length)

Definition at line 90 of file c.cc.

void(* leveldb_filterpolicy_t::destructor_)(void *)

Definition at line 88 of file c.cc.

unsigned char(* leveldb_filterpolicy_t::key_match_)(void *, const char *key, size_t length, const char *filter, size_t filter_length)

Definition at line 95 of file c.cc.

const char*(* leveldb_filterpolicy_t::name_)(void *)

Definition at line 89 of file c.cc.

void* leveldb_filterpolicy_t::state_

Definition at line 87 of file c.cc.


The documentation for this struct was generated from the following file: