#include <hashmap.h>
Public Types | |
using | EntryHandler = ENTRY_HANDLER |
using | HashValueType = typename ENTRY_HANDLER::HashValueType |
Public Member Functions | |
const K & | GetKey () const |
V & | GetValue () |
const V & | GetValue () const |
const K & | GetFirst () const |
V & | GetSecond () |
const V & | GetSecond () const |
void | SetValue (const V &value) |
void | SetValue (V &&value) |
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 |
V | _value |
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 |
V& GetValue | ( | ) |
const V& GetValue | ( | ) | const |
const K& GetFirst | ( | ) | const |
V& GetSecond | ( | ) |
const V& GetSecond | ( | ) | const |
void SetValue | ( | const V & | value | ) |
void SetValue | ( | V && | value | ) |
void ResetValue | ( | ) |
decltype(ENTRY_HANDLER::GetKeyHashCode(std::declval<K>())) GetKeyHashCode | ( | ) | const |
Int GetMemorySize | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |