Tramway SDK
|
#include <hashmap.h>
Public Member Functions | |
Hashmap (std::string name, size_t max_size) | |
Hashmap (std::string name, size_t max_size, std::initializer_list< std::pair< uint64_t, T > > list) | |
T | Find (UID key) |
T | Find (uint64_t key) |
void | Insert (UID key, T value) |
void | Insert (uint64_t key, T value) |
Protected Types | |
typedef std::pair< uint64_t, T > | PAIR |
Protected Attributes | |
const size_t | padding = 10 |
std::string | name |
size_t | size = 0 |
size_t | max_size = 0 |
PAIR * | first = nullptr |
PAIR * | last = nullptr |
|
protected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |