gpac/map.h File Reference

map functions. More...

#include <gpac/tools.h>

Classes

struct  GF_Pair
 Pair structure. More...

Typedefs

typedef struct _tag_map GF_Map
typedef struct _it_map GF_It_Map

Functions

GF_Mapgf_map_new (u32 hash_capacity)
 map constructor
void gf_map_del (GF_Map *ptr)
 map destructor
GF_Err gf_map_iter_new (GF_Map *map, GF_It_Map **it)
 map iterator constructor
void gf_map_iter_del (GF_It_Map *ptr)
 map iterator destructor
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


Detailed Description

>

doxygen