openshot-audio  0.1.7
Public Member Functions | List of all members
DefaultHashFunctions Struct Reference

#include <juce_HashMap.h>

Public Member Functions

int generateHash (const int key, const int upperLimit) const noexcept
 
int generateHash (const int64 key, const int upperLimit) const noexcept
 
int generateHash (const String &key, const int upperLimit) const noexcept
 
int generateHash (const var &key, const int upperLimit) const noexcept
 

Detailed Description

A simple class to generate hash functions for some primitive types, intended for use with the HashMap class.

See Also
HashMap

Member Function Documentation

int DefaultHashFunctions::generateHash ( const int  key,
const int  upperLimit 
) const
inlinenoexcept

Generates a simple hash from an integer.

int DefaultHashFunctions::generateHash ( const int64  key,
const int  upperLimit 
) const
inlinenoexcept

Generates a simple hash from an int64.

int DefaultHashFunctions::generateHash ( const String key,
const int  upperLimit 
) const
inlinenoexcept

Generates a simple hash from a string.

int 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: