A simple class to generate hash functions for some primitive types, intended for use with the HashMap class. More...
#include <juce_HashMap.h>
Static Public Member Functions | |
static int | generateHash (const String &key, int upperLimit) noexcept |
Generates a simple hash from a string. More... | |
static int | generateHash (const Uuid &key, int upperLimit) noexcept |
Generates a simple hash from a UUID. More... | |
static int | generateHash (const var &key, int upperLimit) noexcept |
Generates a simple hash from a variant. More... | |
static int | generateHash (const void *key, int upperLimit) noexcept |
Generates a simple hash from a void ptr. More... | |
static int | generateHash (int32 key, int upperLimit) noexcept |
Generates a simple hash from an integer. More... | |
static int | generateHash (int64 key, int upperLimit) noexcept |
Generates a simple hash from an int64. More... | |
static int | generateHash (uint32 key, int upperLimit) noexcept |
Generates a simple hash from an unsigned int. More... | |
static int | generateHash (uint64 key, int upperLimit) noexcept |
Generates a simple hash from a uint64. More... | |
A simple class to generate hash functions for some primitive types, intended for use with the HashMap class.
@tags{Core}
|
inlinestaticnoexcept |
Generates a simple hash from a string.
References generateHash(), and juce::gl::key.
Referenced by generateHash().
|
inlinestaticnoexcept |
Generates a simple hash from a UUID.
References generateHash(), and juce::gl::key.
Referenced by generateHash().
|
inlinestaticnoexcept |
Generates a simple hash from a variant.
References generateHash(), and juce::gl::key.
Referenced by generateHash().
|
inlinestaticnoexcept |
Generates a simple hash from a void ptr.
References generateHash(), and juce::gl::key.
Referenced by generateHash().
|
inlinestaticnoexcept |
Generates a simple hash from an integer.
References generateHash(), and juce::gl::key.
Referenced by generateHash().
|
inlinestaticnoexcept |
Generates a simple hash from an int64.
References generateHash(), and juce::gl::key.
Referenced by generateHash().
|
inlinestaticnoexcept |
Generates a simple hash from an unsigned int.
References juce::gl::key.
|
inlinestaticnoexcept |
Generates a simple hash from a uint64.
References juce::gl::key.