libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
#include <gimbal_array_map.h>
Data Fields | ||
struct { | ||
GblContext * pCtx | ||
GblArrayMapCmpFn pFnComparator | ||
size_t binarySearches: 1 | ||
size_t size: 63 | ||
} | private_ | |
Related Symbols | |
(Note that these are not member symbols.) | |
GblArrayMap * | GblArrayMap_create (GblArrayMapCmpFn pFnComparator, GblBool binarySearches, GblContext *pCtx) |
GBL_RESULT | GblArrayMap_destroy (GblArrayMap **ppSelf) |
GblBool | GblArrayMap_erase (GblArrayMap **ppSelf, uintptr_t key) |
GblBool | GblArrayMap_extractVariant (GblArrayMap **ppSelf, uintptr_t key, GblVariant *pVariant) |
GblBool | GblArrayMap_extractValue (GblArrayMap **ppSelf, uintptr_t key, uintptr_t *pValue) |
void | GblArrayMap_clear (GblArrayMap **ppSelf) |
Dynamic array-based [K,V] pair associative container.
Contiguous array-based associative container with [K,V] pairs. GblArrayMap is essentially a flat map structure with a few specific properties:
Definition at line 67 of file gimbal_array_map.h.
|
related |
pFnComparator | |
binarySearches | |
pCtx |
|
related |
ppSelf |
|
related |
ppSelf | |
key |
|
related |
ppSelf | |
key | |
pVariant |
|
related |
ppSelf | |
key | |
pValue |
|
related |
ppSelf |
GblContext* GblArrayMap::pCtx |
Optional custom context.
Definition at line 69 of file gimbal_array_map.h.
GblArrayMapCmpFn GblArrayMap::pFnComparator |
Optional custom comparator.
Definition at line 70 of file gimbal_array_map.h.
size_t GblArrayMap::binarySearches |
Optionally sort values and use binary searches.
Definition at line 71 of file gimbal_array_map.h.
size_t GblArrayMap::size |
Number of elements within the map.
Definition at line 73 of file gimbal_array_map.h.