#include <hashmap.h>
Public Types | |
using | EntryHandler = ENTRY_HANDLER |
using | HashValueType = typename ENTRY_HANDLER::HashValueType |
Public Member Functions | |
const K & | GetKey () const |
const K & | GetFirst () const |
UnitType & | GetValue () |
const UnitType & | GetValue () const |
UnitType & | GetSecond () |
const UnitType & | GetSecond () const |
void | SetValue (const UnitType &) |
void | ResetValue () |
decltype(ENTRY_HANDLER::GetKeyHashCode(std::declval< K >())) | GetKeyHashCode () const |
Int | GetMemorySize () const |
HashMapEntryBase (HashValueType hash) | |
HashMapEntryBase (HashValueType hash, const K &key) | |
HashMapEntryBase (HashValueType hash, K &&key) | |
template<typename A > | |
HashMapEntryBase (HashValueType hash, const K &key, A &&value) | |
template<typename A > | |
HashMapEntryBase (HashValueType hash, K &&key, A &&value) | |
Protected Member Functions | |
MAXON_DISALLOW_COPY_AND_ASSIGN (HashMapEntryBase) | |
Protected Attributes | |
HashMapEntryBase * | _next |
K | _key |
using EntryHandler = ENTRY_HANDLER |
using HashValueType = typename ENTRY_HANDLER::HashValueType |
|
explicit |
HashMapEntryBase | ( | HashValueType | hash, |
const K & | key | ||
) |
HashMapEntryBase | ( | HashValueType | hash, |
K && | key | ||
) |
HashMapEntryBase | ( | HashValueType | hash, |
const K & | key, | ||
A && | value | ||
) |
HashMapEntryBase | ( | HashValueType | hash, |
K && | key, | ||
A && | value | ||
) |
const K& GetKey | ( | ) | const |
const K& GetFirst | ( | ) | const |
UnitType& GetValue | ( | ) |
const UnitType& GetValue | ( | ) | const |
UnitType& GetSecond | ( | ) |
const UnitType& GetSecond | ( | ) | const |
void SetValue | ( | const UnitType & | ) |
void ResetValue | ( | ) |
decltype(ENTRY_HANDLER::GetKeyHashCode(std::declval<K>())) GetKeyHashCode | ( | ) | const |
Int GetMemorySize | ( | ) | const |
|
protected |
|
protected |
|
protected |