#include <juce_core.h>
A simple class to generate hash functions for some primitive types, intended for use with the HashMap class.
- See also
- HashMap
◆ generateHash() [1/4]
int juce::DefaultHashFunctions::generateHash |
( |
const int |
key, |
|
|
const int |
upperLimit |
|
) |
| const |
|
inlinenoexcept |
Generates a simple hash from an integer.
◆ generateHash() [2/4]
int juce::DefaultHashFunctions::generateHash |
( |
const int64 |
key, |
|
|
const int |
upperLimit |
|
) |
| const |
|
inlinenoexcept |
Generates a simple hash from an int64.
◆ generateHash() [3/4]
int juce::DefaultHashFunctions::generateHash |
( |
const String & |
key, |
|
|
const int |
upperLimit |
|
) |
| const |
|
inlinenoexcept |
Generates a simple hash from a string.
◆ generateHash() [4/4]
int juce::DefaultHashFunctions::generateHash |
( |
const var & |
key, |
|
|
const int |
upperLimit |
|
) |
| const |
|
inlinenoexcept |
Generates a simple hash from a variant.
The documentation for this struct was generated from the following file: