libBf 0.1
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes

bf::default_hashing< Hasher, Seed > Class Template Reference

The default hash policy. More...

#include <hash.h>

Inheritance diagram for bf::default_hashing< Hasher, Seed >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef hasher::value_type value_type
typedef std::vector< value_type > hash_vector

Public Member Functions

 default_hashing (unsigned k)
unsigned k () const
template<typename T >
hash_vector hash (const T &x) const

Private Types

typedef Hasher hasher
typedef Seed seed
typedef std::vector< hasher > hasher_vector

Private Member Functions

template<typename T >
value_type hash (unsigned i, const T &x) const

Private Attributes

hasher_vector hashers_

Detailed Description

template<typename Hasher = basic_hasher, typename Seed = fixed_seed<42>>
class bf::default_hashing< Hasher, Seed >

The default hash policy.

Template Parameters:
HasherAn unary functor that computes the underlying hash value.
SeedThe seed for the hasher.

Definition at line 184 of file hash.h.


The documentation for this class was generated from the following file:
 All Classes Functions Variables