Diligent Engine  v.2.4.g
Classes | Namespaces | Macros | Functions
HashUtils.hpp File Reference
#include <functional>
#include <memory>
#include <cstring>
#include "../../Primitives/interface/Errors.hpp"
#include "../../Platforms/Basic/interface/DebugUtilities.hpp"

Go to the source code of this file.

Classes

struct  Diligent::CStringHash< CharType >
 
struct  Diligent::CStringCompare< CharType >
 
struct  Diligent::CStringCompare< Char >
 
struct  Diligent::HashMapStringKey
 This helper structure is intended to facilitate using strings as a hash table key. It provides constructors that can make a copy of the source string or just keep a pointer to it, which enables searching in the hash using raw const Char* pointers. More...
 
struct  Diligent::HashMapStringKey::Hasher
 

Namespaces

 Diligent
 The library uses Direct3D-style math:
 

Macros

#define LOG_HASH_CONFLICTS   1
 

Functions

template<typename T >
void Diligent::HashCombine (std::size_t &Seed, const T &Val)
 
template<typename FirstArgType , typename... RestArgsType>
void Diligent::HashCombine (std::size_t &Seed, const FirstArgType &FirstArg, const RestArgsType &... RestArgs)
 
template<typename... ArgsType>
std::size_t Diligent::ComputeHash (const ArgsType &... Args)
 

Macro Definition Documentation

◆ LOG_HASH_CONFLICTS

#define LOG_HASH_CONFLICTS   1