IBR-DTNSuite
0.12
|
#include <BloomFilter.h>
Public Member Functions | |
DefaultHashProvider (size_t salt_count) | |
virtual | ~DefaultHashProvider () |
bool | operator== (const DefaultHashProvider &provider) const |
size_t | count () const |
void | clear () |
const std::list< bloom_type > | hash (const unsigned char *begin, std::size_t remaining_length) const |
Public Member Functions inherited from ibrcommon::HashProvider | |
virtual | ~HashProvider ()=0 |
Definition at line 56 of file BloomFilter.h.
ibrcommon::DefaultHashProvider::DefaultHashProvider | ( | size_t | salt_count) |
Definition at line 35 of file BloomFilter.cpp.
|
virtual |
Definition at line 41 of file BloomFilter.cpp.
|
virtual |
Implements ibrcommon::HashProvider.
Definition at line 50 of file BloomFilter.cpp.
|
virtual |
Get the number of the available hash algorithms.
Implements ibrcommon::HashProvider.
Definition at line 60 of file BloomFilter.cpp.
|
virtual |
Implements ibrcommon::HashProvider.
Definition at line 65 of file BloomFilter.cpp.
Referenced by ibrcommon::BloomFilter::contains(), and ibrcommon::BloomFilter::insert().
bool ibrcommon::DefaultHashProvider::operator== | ( | const DefaultHashProvider & | provider) | const |
Definition at line 45 of file BloomFilter.cpp.