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::BloomTest Class Reference
Collaboration diagram for leveldb::BloomTest:
Collaboration graph
[legend]

Public Member Functions

 BloomTest ()
 
 ~BloomTest ()
 
void Reset ()
 
void Add (const Slice &s)
 
void Build ()
 
size_t FilterSize () const
 
void DumpFilter ()
 
bool Matches (const Slice &s)
 
double FalsePositiveRate ()
 

Private Attributes

const FilterPolicypolicy_
 
std::string filter_
 
std::vector< std::string > keys_
 

Detailed Description

Definition at line 21 of file bloom_test.cc.

Constructor & Destructor Documentation

leveldb::BloomTest::BloomTest ( )
inline

Definition at line 28 of file bloom_test.cc.

leveldb::BloomTest::~BloomTest ( )
inline

Definition at line 30 of file bloom_test.cc.

Member Function Documentation

void leveldb::BloomTest::Add ( const Slice s)
inline

Definition at line 39 of file bloom_test.cc.

void leveldb::BloomTest::Build ( )
inline

Definition at line 43 of file bloom_test.cc.

void leveldb::BloomTest::DumpFilter ( )
inline

Definition at line 58 of file bloom_test.cc.

double leveldb::BloomTest::FalsePositiveRate ( )
inline

Definition at line 76 of file bloom_test.cc.

size_t leveldb::BloomTest::FilterSize ( ) const
inline

Definition at line 54 of file bloom_test.cc.

bool leveldb::BloomTest::Matches ( const Slice s)
inline

Definition at line 69 of file bloom_test.cc.

void leveldb::BloomTest::Reset ( )
inline

Definition at line 34 of file bloom_test.cc.

Member Data Documentation

std::string leveldb::BloomTest::filter_
private

Definition at line 24 of file bloom_test.cc.

std::vector<std::string> leveldb::BloomTest::keys_
private

Definition at line 25 of file bloom_test.cc.

const FilterPolicy* leveldb::BloomTest::policy_
private

Definition at line 23 of file bloom_test.cc.


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