Murl Engine API  Version 2024.1
Murl::EnumHash< DataType > Class Template Reference

The default hash functor for objects. More...

#include <murl_hash.h>

Detailed Description

template<class DataType>
class Murl::EnumHash< DataType >

The default hash functor for objects.

Public Types

using ValueType = DataType
 The template parameter value type.
 

Public Member Functions

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

Member Function Documentation

◆ operator()()

template<class DataType >
UInt32 Murl::EnumHash< 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: