0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
Hypertable::MurmurHash2 Struct Reference

Helper structure using overloaded operator() to calculate hashes of various input types. More...

#include <MurmurHash.h>

Public Member Functions

uint32_t operator() (const String &s) const
 Returns hash of a String. More...
 
uint32_t operator() (const void *start, size_t len, uint32_t seed=0) const
 Returns hash of a memory buffer. More...
 
uint32_t operator() (const char *s) const
 Returns hash of a null terminated memory buffer. More...
 

Detailed Description

Helper structure using overloaded operator() to calculate hashes of various input types.

This class is usually used as a template parameter, i.e. see BlobHashTraits.h.

Definition at line 58 of file MurmurHash.h.

Member Function Documentation

uint32_t Hypertable::MurmurHash2::operator() ( const String s) const
inline

Returns hash of a String.

Definition at line 60 of file MurmurHash.h.

uint32_t Hypertable::MurmurHash2::operator() ( const void *  start,
size_t  len,
uint32_t  seed = 0 
) const
inline

Returns hash of a memory buffer.

Definition at line 65 of file MurmurHash.h.

uint32_t Hypertable::MurmurHash2::operator() ( const char *  s) const
inline

Returns hash of a null terminated memory buffer.

Definition at line 70 of file MurmurHash.h.


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