Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Private Attributes | List of all members
leveldb::InternalFilterPolicy Class Reference

#include <dbformat.h>

Inheritance diagram for leveldb::InternalFilterPolicy:
Inheritance graph
[legend]
Collaboration diagram for leveldb::InternalFilterPolicy:
Collaboration graph
[legend]

Public Member Functions

 InternalFilterPolicy (const FilterPolicy *p)
 
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 ()
 

Private Attributes

const FilterPolicy *const user_policy_
 

Detailed Description

Definition at line 131 of file dbformat.h.

Constructor & Destructor Documentation

leveldb::InternalFilterPolicy::InternalFilterPolicy ( const FilterPolicy p)
inlineexplicit

Definition at line 135 of file dbformat.h.

Member Function Documentation

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

Implements leveldb::FilterPolicy.

Definition at line 105 of file dbformat.cc.

bool leveldb::InternalFilterPolicy::KeyMayMatch ( const Slice key,
const Slice filter 
) const
virtual

Implements leveldb::FilterPolicy.

Definition at line 117 of file dbformat.cc.

const char * leveldb::InternalFilterPolicy::Name ( ) const
virtual

Implements leveldb::FilterPolicy.

Definition at line 101 of file dbformat.cc.

Member Data Documentation

const FilterPolicy* const leveldb::InternalFilterPolicy::user_policy_
private

Definition at line 133 of file dbformat.h.


The documentation for this class was generated from the following files: