# ace::NGramHasher Struct Reference

Functor, which wraps hashing function (NGramHashCounter::count_hash()). More...

`#include <ngrams.h>`

List of all members.

## Public Member Functions
size_t | operator() (const NGram *key) const
| Hashing function.

## Detailed Description

Functor, which wraps hashing function (NGramHashCounter::count_hash()).

## Member Function Documentation

size_t ace::NGramHasher::operator() | ( | const NGram * | key | ) | const`[inline]`

Hashing function.

Parameters:

  | key | Pointer to NGram (instance) to be hashed.

Returns:
  Counted hash.

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

- proto/Source/ngrams.h