CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::detailv3::KeyOrValueHasher< key_type, value_type, hasher > Struct Template Reference

#include <CeresEngine/Foundation/Container/FlatHashMap.hpp>

Inheritance diagram for CeresEngine::detailv3::KeyOrValueHasher< key_type, value_type, hasher >:
CeresEngine::detailv3::FunctorStorage< size_t, hasher >

Public Types

typedef FunctorStorage< size_t, hasher > hasher_storage
 

Public Member Functions

 KeyOrValueHasher ()=default
 
 KeyOrValueHasher (const hasher &hash)
 
size_t operator() (const key_type &key)
 
size_t operator() (const key_type &key) const
 
size_t operator() (const value_type &value)
 
size_t operator() (const value_type &value) const
 
template<typename F , typename S >
size_t operator() (const Pair< F, S > &value)
 
template<typename F , typename S >
size_t operator() (const Pair< F, S > &value) const
 
- Public Member Functions inherited from CeresEngine::detailv3::FunctorStorage< size_t, hasher >
 FunctorStorage ()=default
 
 FunctorStorage (const hasher &functor)
 
size_t operator() (Args &&... args)
 
size_t operator() (Args &&... args) const
 

Member Typedef Documentation

◆ hasher_storage

template<typename key_type , typename value_type , typename hasher >
typedef FunctorStorage<size_t, hasher> CeresEngine::detailv3::KeyOrValueHasher< key_type, value_type, hasher >::hasher_storage

Constructor & Destructor Documentation

◆ KeyOrValueHasher() [1/2]

template<typename key_type , typename value_type , typename hasher >
CeresEngine::detailv3::KeyOrValueHasher< key_type, value_type, hasher >::KeyOrValueHasher ( )
default

◆ KeyOrValueHasher() [2/2]

template<typename key_type , typename value_type , typename hasher >
CeresEngine::detailv3::KeyOrValueHasher< key_type, value_type, hasher >::KeyOrValueHasher ( const hasher &  hash)
inline

Member Function Documentation

◆ operator()() [1/6]

template<typename key_type , typename value_type , typename hasher >
size_t CeresEngine::detailv3::KeyOrValueHasher< key_type, value_type, hasher >::operator() ( const key_type &  key)
inline

◆ operator()() [2/6]

template<typename key_type , typename value_type , typename hasher >
size_t CeresEngine::detailv3::KeyOrValueHasher< key_type, value_type, hasher >::operator() ( const key_type &  key) const
inline

◆ operator()() [3/6]

template<typename key_type , typename value_type , typename hasher >
template<typename F , typename S >
size_t CeresEngine::detailv3::KeyOrValueHasher< key_type, value_type, hasher >::operator() ( const Pair< F, S > &  value)
inline

◆ operator()() [4/6]

template<typename key_type , typename value_type , typename hasher >
template<typename F , typename S >
size_t CeresEngine::detailv3::KeyOrValueHasher< key_type, value_type, hasher >::operator() ( const Pair< F, S > &  value) const
inline

◆ operator()() [5/6]

template<typename key_type , typename value_type , typename hasher >
size_t CeresEngine::detailv3::KeyOrValueHasher< key_type, value_type, hasher >::operator() ( const value_type &  value)
inline

◆ operator()() [6/6]

template<typename key_type , typename value_type , typename hasher >
size_t CeresEngine::detailv3::KeyOrValueHasher< key_type, value_type, hasher >::operator() ( const value_type &  value) const
inline

The documentation for this struct was generated from the following file: