Murl::StdHash< DataType > Class Template Reference

The default hash functor for objects. More...

#include "murl_hash.h"

Public Types

typedef DataType ValueType
 The template parameter value type. More...
 

Public Member Functions

UInt32 operator() (const DataType &x) const
 Calculate the hash for an object of specified type. More...
 

Detailed Description

template<class DataType>
class Murl::StdHash< DataType >

The default hash functor for objects.

Member Typedef Documentation

◆ ValueType

template<class DataType >
typedef DataType Murl::StdHash< DataType >::ValueType

The template parameter value type.

Member Function Documentation

◆ operator()()

template<class DataType >
UInt32 Murl::StdHash< DataType >::operator() ( const DataType &  x) const
inline

Calculate the hash for an object of specified type.

Parameters
xThe reference to the object.
Returns
The hash value.

References Murl::Util::Hash::GetHashValue().


The documentation for this class was generated from the following file:
  • murl_hash.h


Copyright © 2011-2018 Spraylight GmbH.