Salad
1.0.15
|
#include <map.h>
Data Fields | |
struct sld_vector * | keys |
struct sld_vector * | values |
Related Functions | |
SLD_SSINT | sld_map_init (struct sld_map *map) |
Initializes a sld_map. More... | |
SLD_UINT | sld_map_size (struct sld_map *map) |
Returns the size of a sld_map. More... | |
SLD_SSINT | sld_map_add (struct sld_map *map, char *key, void *value) |
Adds an object to a sld_map. More... | |
SLD_BOOL | sld_map_delete (struct sld_map *map, char *key) |
Removes an object from a sld_map with the specified key. More... | |
SLD_BOOL | sld_map_has_key (struct sld_map *map, char *key) |
Checks whether or not a sld_map contains the specified key. More... | |
void * | sld_map_get_value (struct sld_map *map, char *key) |
Obtains the value from a sld_map using the specified key. More... | |
void * | sld_map_key_at (struct sld_map *map, SLD_UINT index) |
Obtains the key from a sld_map at the specified index. More... | |
void * | sld_map_value_at (struct sld_map *map, SLD_UINT index) |
Obtains the value from a sld_map at the specified index. More... | |
void | sld_map_free (struct sld_map *map) |
Frees any memory allocated for an initialized sld_map. More... | |
struct sld_vector* sld_map::keys |
a sld_vector containing keys as strings
struct sld_vector* sld_map::values |
a sld_vector containing ambiguous objects