tudocomp
– The TU Dortmund Compression Framework
tdc::KnuthHasher Struct Reference

#include <Hash.hpp>

Inheritance diagram for tdc::KnuthHasher:
tdc::Algorithm

Public Member Functions

 KnuthHasher (Env &&env)
 
size_t operator() (size_t key)
 
- Public Member Functions inherited from tdc::Algorithm
virtual ~Algorithm ()=default
 
 Algorithm (Algorithm const &)=default
 
 Algorithm (Algorithm &&)=default
 
Algorithmoperator= (Algorithm const &)=default
 
Algorithmoperator= (Algorithm &&)=default
 
 Algorithm (Env &&env)
 Instantiates an algorithm in the specified environment. More...
 
Envenv ()
 Provides access to the environment that the algorithm works in. More...
 
const Envenv () const
 

Static Public Member Functions

static Meta meta ()
 

Detailed Description

Definition at line 35 of file Hash.hpp.

Constructor & Destructor Documentation

tdc::KnuthHasher::KnuthHasher ( Env &&  env)
inline

Definition at line 40 of file Hash.hpp.

Member Function Documentation

static Meta tdc::KnuthHasher::meta ( )
inlinestatic

Definition at line 36 of file Hash.hpp.

size_t tdc::KnuthHasher::operator() ( size_t  key)
inline

Definition at line 41 of file Hash.hpp.


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