Murl Engine API  Version 2018.3
Murl::StdHash< DataType > Class Template Reference

The default hash functor for objects. More...

#include <murl_hash.h>

Detailed Description

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

The default hash functor for objects.

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...
 

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.

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