template struct Poco::HashFunction

Overview

A generic hash function. Moreā€¦

#include <HashFunction.h>

template <class T>
struct HashFunction
{
    // methods

    UInt32
    operator()(
        T key,
        UInt32 maxValue
        ) const;
};

Detailed Documentation

A generic hash function.

Methods

UInt32
operator()(
    T key,
    UInt32 maxValue
    ) const

Returns the hash value for the given key.