IBR-DTNSuite  0.8
ibrcommon::HashProvider Class Reference

#include <BloomFilter.h>

Inheritance diagram for ibrcommon::HashProvider:

List of all members.

Public Member Functions

virtual size_t count () const =0
virtual void clear ()=0
virtual const std::list
< bloom_type
hash (const unsigned char *begin, std::size_t remaining_length) const =0

Detailed Description

Definition at line 25 of file BloomFilter.h.


Member Function Documentation

virtual void ibrcommon::HashProvider::clear ( ) [pure virtual]
virtual size_t ibrcommon::HashProvider::count ( ) const [pure virtual]

Get the number of the available hash algorithms.

Returns:

Implemented in ibrcommon::DefaultHashProvider.

virtual const std::list<bloom_type> ibrcommon::HashProvider::hash ( const unsigned char *  begin,
std::size_t  remaining_length 
) const [pure virtual]

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