LegacyHash Struct Reference

#include <legacyhash.h>

Inheritance diagram for LegacyHash:

Static Public Member Functions

static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode (UInt32 i)
 
static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode (UInt64 h)
 
static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode (Bool i)
 
static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode (Char i)
 
static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode (UChar i)
 
static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode (Int16 i)
 
static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode (UInt16 i)
 
static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode (Int32 h)
 
static UInt GetHashCode (Utf16Char i)
 
static UInt GetHashCode (Utf32Char i)
 
static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode (Int64 h)
 
static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode (Float32 h)
 
static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode (Float64 h)
 
template<typename T >
static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode (const T *key)
 
template<typename T >
static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode (T *key)
 
static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode (std::nullptr_t)
 
static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode (const Tuple< Int, Int > &tuple)
 
- Static Public Member Functions inherited from CompareTemplate< false >
static MAXON_ATTRIBUTE_FORCE_INLINE COMPARERESULT Compare (const T1 &a, const T2 &b)
 
static MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (UInt32 h)
 
static MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (UInt64 h)
 
static MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (Bool i)
 
static MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (Char i)
 
static MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (UChar i)
 
static MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (Int16 i)
 
static MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (UInt16 i)
 
static MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (Int32 h)
 
static HashInt GetHashCode (Utf16Char i)
 
static HashInt GetHashCode (Utf32Char i)
 
static MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (Int64 h)
 
static MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (Float32 h)
 
static MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (Float64 h)
 
static MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (const T *key)
 
static MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (T *key)
 
static MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (std::nullptr_t)
 
static MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (const maxon::details::EnumWrapper< E > &key)
 
static MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (const K &key)
 
static MAXON_ATTRIBUTE_FORCE_INLINE Bool IsEqual (const T1 &a, const T2 &b)
 
static MAXON_ATTRIBUTE_FORCE_INLINE Bool LessThan (const T1 &a, const T2 &b)
 
static MAXON_ATTRIBUTE_FORCE_INLINE Bool LessThanOrEqual (const T1 &a, const T2 &b)
 
static const MAXON_ATTRIBUTE_FORCE_INLINE COMPARERESULTCompareHelper (const T1 &a, const T2 &b, OverloadRank0)
 
static MAXON_ATTRIBUTE_FORCE_INLINE auto CompareHelper (const T1 &a, const T2 &b, OverloadRank1) -> decltype((a< b) ? COMPARERESULT::LESS :COMPARERESULT::EQUAL)
 
static MAXON_ATTRIBUTE_FORCE_INLINE auto CompareHelper (const T1 &a, const T2 &b, OverloadRank2) -> decltype(a.Compare(b))
 
static MAXON_ATTRIBUTE_FORCE_INLINE SFINAEHelper< COMPARERESULT, typename T1::PartiallyOrdered >::type CompareHelper (const T1 &a, const T2 &b, OverloadRank3)
 
static HashInt GetCombinedHashCode (const T &... values)
 

Member Function Documentation

◆ GetHashCode() [1/17]

static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode ( UInt32  i)
static

◆ GetHashCode() [2/17]

static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode ( UInt64  h)
static

◆ GetHashCode() [3/17]

static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode ( Bool  i)
static

◆ GetHashCode() [4/17]

static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode ( Char  i)
static

◆ GetHashCode() [5/17]

static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode ( UChar  i)
static

◆ GetHashCode() [6/17]

static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode ( Int16  i)
static

◆ GetHashCode() [7/17]

static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode ( UInt16  i)
static

◆ GetHashCode() [8/17]

static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode ( Int32  h)
static

◆ GetHashCode() [9/17]

static UInt GetHashCode ( Utf16Char  i)
static

◆ GetHashCode() [10/17]

static UInt GetHashCode ( Utf32Char  i)
static

◆ GetHashCode() [11/17]

static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode ( Int64  h)
static

◆ GetHashCode() [12/17]

static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode ( Float32  h)
static

◆ GetHashCode() [13/17]

static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode ( Float64  h)
static

◆ GetHashCode() [14/17]

static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode ( const T *  key)
static

◆ GetHashCode() [15/17]

static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode ( T *  key)
static

◆ GetHashCode() [16/17]

static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode ( std::nullptr_t  )
static

◆ GetHashCode() [17/17]

static MAXON_ATTRIBUTE_FORCE_INLINE UInt GetHashCode ( const Tuple< Int, Int > &  tuple)
static