Stardew Engine
Loading...
Searching...
No Matches
HashMap Struct Reference

A hash map with strings for keys and any type for values doubles in size when the load factor is met, keeps KVPs as a linked list. More...

#include <StringKeyHashMap.h>

Collaboration diagram for HashMap:

Data Fields

int capacity
 
int size
 
int valueSize
 
void * pData
 
struct KVPpHead
 
struct KVPpEnd
 
float fLoadFactor
 

Detailed Description

A hash map with strings for keys and any type for values doubles in size when the load factor is met, keeps KVPs as a linked list.

Field Documentation

◆ capacity

int HashMap::capacity

◆ fLoadFactor

float HashMap::fLoadFactor

◆ pData

void* HashMap::pData

◆ pEnd

struct KVP* HashMap::pEnd

◆ pHead

struct KVP* HashMap::pHead

◆ size

int HashMap::size

◆ valueSize

int HashMap::valueSize

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