osurs  0.0.1
Data Fields
HashMap Struct Reference

A hashmap. More...

#include <hashmap.h>

Collaboration diagram for HashMap:
Collaboration graph
[legend]

Data Fields

HashMapEntry ** entries
 
size_t size
 
size_t capacity
 
int dynamic_alloc
 

Detailed Description

A hashmap.

Abstract data type (ADT) map implementation as a hashmap.

Field Documentation

◆ capacity

size_t HashMap::capacity

Bucket capacity of the hashmap.

◆ dynamic_alloc

int HashMap::dynamic_alloc

Where is the map stored: 0=stack, 1=heap.

◆ entries

HashMapEntry** HashMap::entries

Buckets for the entries.

◆ size

size_t HashMap::size

Number of entries in the hashmap.


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