LuaHashMap
1.0.0
|
Functions | |
const char * | LuaHashMap_GetValueStringForKeyString (LuaHashMap *restrict hash_map, const char *restrict key_string) |
Returns the value for specified key in the hash table. | |
const char * | LuaHashMap_GetValueStringForKeyStringWithLength (LuaHashMap *restrict hash_map, const char *restrict key_string, size_t *restrict value_string_length_return, size_t key_string_length) |
Returns the value for specified key in the hash table. | |
void * | LuaHashMap_GetValuePointerForKeyString (LuaHashMap *restrict hash_map, const char *restrict key_string) |
Returns the value for specified key in the hash table. | |
void * | LuaHashMap_GetValuePointerForKeyStringWithLength (LuaHashMap *restrict hash_map, const char *restrict key_string, size_t key_string_length) |
Returns the value for specified key in the hash table. | |
lua_Number | LuaHashMap_GetValueNumberForKeyString (LuaHashMap *restrict hash_map, const char *restrict key_string) |
Returns the value for specified key in the hash table. | |
lua_Number | LuaHashMap_GetValueNumberForKeyStringWithLength (LuaHashMap *restrict hash_map, const char *restrict key_string, size_t key_string_length) |
Returns the value for specified key in the hash table. | |
lua_Integer | LuaHashMap_GetValueIntegerForKeyString (LuaHashMap *restrict hash_map, const char *restrict key_string) |
Returns the value for specified key in the hash table. | |
lua_Integer | LuaHashMap_GetValueIntegerForKeyStringWithLength (LuaHashMap *restrict hash_map, const char *restrict key_string, size_t key_string_length) |
Returns the value for specified key in the hash table. | |
const char * | LuaHashMap_GetValueStringForKeyPointer (LuaHashMap *hash_map, void *key_pointer) |
Returns the value for specified key in the hash table. | |
const char * | LuaHashMap_GetValueStringForKeyPointerWithLength (LuaHashMap *hash_map, void *key_pointer, size_t *value_string_length_return) |
Returns the value for specified key in the hash table. | |
void * | LuaHashMap_GetValuePointerForKeyPointer (LuaHashMap *hash_map, void *key_pointer) |
Returns the value for specified key in the hash table. | |
lua_Number | LuaHashMap_GetValueNumberForKeyPointer (LuaHashMap *hash_map, void *key_pointer) |
Returns the value for specified key in the hash table. | |
lua_Integer | LuaHashMap_GetValueIntegerForKeyPointer (LuaHashMap *hash_map, void *key_pointer) |
Returns the value for specified key in the hash table. | |
const char * | LuaHashMap_GetValueStringForKeyNumber (LuaHashMap *hash_map, lua_Number key_number) |
Returns the value for specified key in the hash table. | |
const char * | LuaHashMap_GetValueStringForKeyNumberWithLength (LuaHashMap *restrict hash_map, lua_Number key_number, size_t *restrict value_string_length_return) |
Returns the value for specified key in the hash table. | |
void * | LuaHashMap_GetValuePointerForKeyNumber (LuaHashMap *hash_map, lua_Number key_number) |
Returns the value for specified key in the hash table. | |
lua_Number | LuaHashMap_GetValueNumberForKeyNumber (LuaHashMap *hash_map, lua_Number key_number) |
Returns the value for specified key in the hash table. | |
lua_Integer | LuaHashMap_GetValueIntegerForKeyNumber (LuaHashMap *hash_map, lua_Number key_number) |
Returns the value for specified key in the hash table. | |
const char * | LuaHashMap_GetValueStringForKeyInteger (LuaHashMap *hash_map, lua_Integer key_integer) |
Returns the value for specified key in the hash table. | |
const char * | LuaHashMap_GetValueStringForKeyIntegerWithLength (LuaHashMap *restrict hash_map, lua_Integer key_integer, size_t *restrict value_string_length_return) |
Returns the value for specified key in the hash table. | |
void * | LuaHashMap_GetValuePointerForKeyInteger (LuaHashMap *hash_map, lua_Integer key_integer) |
Returns the value for specified key in the hash table. | |
lua_Number | LuaHashMap_GetValueNumberForKeyInteger (LuaHashMap *hash_map, lua_Integer key_integer) |
Returns the value for specified key in the hash table. | |
lua_Integer | LuaHashMap_GetValueIntegerForKeyInteger (LuaHashMap *hash_map, lua_Integer key_integer) |
Returns the value for specified key in the hash table. | |
lua_Integer LuaHashMap_GetValueIntegerForKeyInteger | ( | LuaHashMap * | hash_map, |
lua_Integer | key_integer | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <integer, integer> version
hash_map | The LuaHashMap instance to operate on. |
key_integer | The key for the value. |
lua_Integer LuaHashMap_GetValueIntegerForKeyNumber | ( | LuaHashMap * | hash_map, |
lua_Number | key_number | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <number, integer> version
hash_map | The LuaHashMap instance to operate on. |
key_number | The key for the value. |
lua_Integer LuaHashMap_GetValueIntegerForKeyPointer | ( | LuaHashMap * | hash_map, |
void * | key_pointer | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <pointer, integer> version
hash_map | The LuaHashMap instance to operate on. |
key_pointer | The key for the value. |
lua_Integer LuaHashMap_GetValueIntegerForKeyString | ( | LuaHashMap *restrict | hash_map, |
const char *restrict | key_string | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <string, integer> version
hash_map | The LuaHashMap instance to operate on. |
key_string | The key for the value. NULL key strings disallowed and the operation will simply return NULL. |
lua_Integer LuaHashMap_GetValueIntegerForKeyStringWithLength | ( | LuaHashMap *restrict | hash_map, |
const char *restrict | key_string, | ||
size_t | key_string_length | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <string, integer> version This version allows you to specify the string length for the string if you already know it as an optimization.
hash_map | The LuaHashMap instance to operate on. |
key_string | The key for the value. NULL key strings disallowed and the operation will simply return NULL. |
key_string_length | The string length (strlen()) of the key string. (This does not count the \0 terminator character.) |
lua_Number LuaHashMap_GetValueNumberForKeyInteger | ( | LuaHashMap * | hash_map, |
lua_Integer | key_integer | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <integer, number> version
hash_map | The LuaHashMap instance to operate on. |
key_integer | The key for the value. |
lua_Number LuaHashMap_GetValueNumberForKeyNumber | ( | LuaHashMap * | hash_map, |
lua_Number | key_number | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <number, number> version
hash_map | The LuaHashMap instance to operate on. |
key_number | The key for the value. |
lua_Number LuaHashMap_GetValueNumberForKeyPointer | ( | LuaHashMap * | hash_map, |
void * | key_pointer | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <pointer, number> version
hash_map | The LuaHashMap instance to operate on. |
key_pointer | The key for the value. |
lua_Number LuaHashMap_GetValueNumberForKeyString | ( | LuaHashMap *restrict | hash_map, |
const char *restrict | key_string | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <string, number> version
hash_map | The LuaHashMap instance to operate on. |
key_string | The key for the value. NULL key strings disallowed and the operation will simply return NULL. |
lua_Number LuaHashMap_GetValueNumberForKeyStringWithLength | ( | LuaHashMap *restrict | hash_map, |
const char *restrict | key_string, | ||
size_t | key_string_length | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <string, number> version This version allows you to specify the string length for the string if you already know it as an optimization.
hash_map | The LuaHashMap instance to operate on. |
key_string | The key for the value. NULL key strings disallowed and the operation will simply return NULL. |
key_string_length | The string length (strlen()) of the key string. (This does not count the \0 terminator character.) |
void* LuaHashMap_GetValuePointerForKeyInteger | ( | LuaHashMap * | hash_map, |
lua_Integer | key_integer | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <integer, pointer> version
hash_map | The LuaHashMap instance to operate on. |
key_integer | The key for the value. |
void* LuaHashMap_GetValuePointerForKeyNumber | ( | LuaHashMap * | hash_map, |
lua_Number | key_number | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <number, pointer> version
hash_map | The LuaHashMap instance to operate on. |
key_number | The key for the value. |
void* LuaHashMap_GetValuePointerForKeyPointer | ( | LuaHashMap * | hash_map, |
void * | key_pointer | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <pointer, pointer> version
hash_map | The LuaHashMap instance to operate on. |
key_pointer | The key for the value. |
void* LuaHashMap_GetValuePointerForKeyString | ( | LuaHashMap *restrict | hash_map, |
const char *restrict | key_string | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <string, pointer> version
hash_map | The LuaHashMap instance to operate on. |
key_string | The key for the value. NULL key strings disallowed and the operation will simply return NULL. |
void* LuaHashMap_GetValuePointerForKeyStringWithLength | ( | LuaHashMap *restrict | hash_map, |
const char *restrict | key_string, | ||
size_t | key_string_length | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <string, pointer> version This version allows you to specify the string length for the string if you already know it as an optimization.
hash_map | The LuaHashMap instance to operate on. |
key_string | The key for the value. NULL key strings disallowed and the operation will simply return NULL. |
key_string_length | The string length (strlen()) of the key string. (This does not count the \0 terminator character.) |
const char* LuaHashMap_GetValueStringForKeyInteger | ( | LuaHashMap * | hash_map, |
lua_Integer | key_integer | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <integer, string> version
hash_map | The LuaHashMap instance to operate on. |
key_integer | The key for the value. |
const char* LuaHashMap_GetValueStringForKeyIntegerWithLength | ( | LuaHashMap *restrict | hash_map, |
lua_Integer | key_integer, | ||
size_t *restrict | value_string_length_return | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <integer, string> version This version allows you to specify the string length for the string if you already know it as an optimization.
hash_map | The LuaHashMap instance to operate on. |
key_integer | The key for the value. |
value_string_length_return | This returns by reference the string length (strlen()) of the returned value string. You may pass NULL to ignore this result. |
const char* LuaHashMap_GetValueStringForKeyNumber | ( | LuaHashMap * | hash_map, |
lua_Number | key_number | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <number, string> version
hash_map | The LuaHashMap instance to operate on. |
key_number | The key for the value. |
const char* LuaHashMap_GetValueStringForKeyNumberWithLength | ( | LuaHashMap *restrict | hash_map, |
lua_Number | key_number, | ||
size_t *restrict | value_string_length_return | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <number, string> version This version allows you to specify the string length for the string if you already know it as an optimization.
hash_map | The LuaHashMap instance to operate on. |
key_number | The key for the value. |
value_string_length_return | This returns by reference the string length (strlen()) of the returned value string. You may pass NULL to ignore this result. |
const char* LuaHashMap_GetValueStringForKeyPointer | ( | LuaHashMap * | hash_map, |
void * | key_pointer | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <pointer, string> version
hash_map | The LuaHashMap instance to operate on. |
key_pointer | The key for the value. |
const char* LuaHashMap_GetValueStringForKeyPointerWithLength | ( | LuaHashMap * | hash_map, |
void * | key_pointer, | ||
size_t * | value_string_length_return | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <pointer, string> version This version allows you to specify the string length for the string if you already know it as an optimization.
hash_map | The LuaHashMap instance to operate on. |
key_pointer | The key for the value. |
value_string_length_return | This returns by reference the string length (strlen()) of the returned value string. You may pass NULL to ignore this result. |
const char* LuaHashMap_GetValueStringForKeyString | ( | LuaHashMap *restrict | hash_map, |
const char *restrict | key_string | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <string, string> version
hash_map | The LuaHashMap instance to operate on. |
key_string | The key for the value. NULL key strings disallowed and the operation will simply return NULL. |
const char* LuaHashMap_GetValueStringForKeyStringWithLength | ( | LuaHashMap *restrict | hash_map, |
const char *restrict | key_string, | ||
size_t *restrict | value_string_length_return, | ||
size_t | key_string_length | ||
) |
Returns the value for specified key in the hash table.
Returns the value for specified key in the hash table. <string, string> version This version allows you to specify the string length for the string if you already know it as an optimization.
hash_map | The LuaHashMap instance to operate on. |
key_string | The key for the value. NULL key strings disallowed and the operation will simply return NULL. |
value_string_length_return | This returns by reference the string length (strlen()) of the returned value string. You may pass NULL to ignore this result. |
key_string_length | The string length (strlen()) of the key string. (This does not count the \0 terminator character.) |