map functions. More...
#include <gpac/tools.h>Classes | |
| struct | GF_Pair |
| Pair structure. More... | |
| struct | _it_map |
Typedefs | |
| typedef struct _tag_map | GF_Map |
| typedef struct _it_map | GF_It_Map |
Functions | |
| GF_Map * | gf_map_new (u32 hash_capacity) |
| map constructor | |
| void | gf_map_del (GF_Map *ptr) |
| map destructor | |
| GF_Err | gf_map_iter_set (GF_Map *map, GF_It_Map *it) |
| Set a new map iterator. | |
| void * | gf_map_iter_has_next (GF_It_Map *it) |
| return the next value in the map | |
| GF_Err | gf_map_iter_reset (GF_It_Map *it) |
| Reset the iterator in the map. | |
| u32 | gf_map_count (const GF_Map *ptr) |
| get count | |
| GF_Err | gf_map_insert (GF_Map *ptr, const char *key, void *item) |
| add item | |
| Bool | gf_map_rem (GF_Map *ptr, const char *key) |
| removes the couple key/item from the map | |
| void * | gf_map_find (GF_Map *ptr, const char *key) |
| finds item | |
| Bool | gf_map_has_key (GF_Map *ptr, const char *key) |
| Check if map contains key. | |
| void | gf_map_reset (GF_Map *ptr) |
| resets map | |
>
1.6.1