#include <hashmap.h>
Special case of general and entry allocator being different (usually for performance critical fixed/limited size maps).
Public Member Functions | |
| void * | AllocBuckets (Int size, MAXON_SOURCE_LOCATION_DECLARATION) |
| void | FreeBuckets (void *buckets) |
| Entry * | AllocEntry (Int size=SIZEOF(Entry)) |
| void | FreeEntry (const Entry *entry) |
| Bool | DeleteAllEntries () |
Private Attributes | |
| GENERAL_ALLOCATOR | _bucketAllocator |
| BLOCK_ALLOCATOR | _entryAllocator |
| void* AllocBuckets | ( | Int | size, |
| MAXON_SOURCE_LOCATION_DECLARATION | |||
| ) |
| void FreeBuckets | ( | void * | buckets | ) |
| void FreeEntry | ( | const Entry * | entry | ) |
| Bool DeleteAllEntries | ( | ) |
|
private |
|
private |