|
xbt_dict_t | xbt_dict_new (void) |
| Constructor. More...
|
|
xbt_dict_t | xbt_dict_new_homogeneous (void_f_pvoid_t free_ctn) |
| Constructor. More...
|
|
void | xbt_dict_free (xbt_dict_t *dict) |
| Destructor. More...
|
|
unsigned int | xbt_dict_size (xbt_dict_t dict) |
| Returns the amount of elements in the dict. More...
|
|
void | xbt_dict_set (xbt_dict_t dict, const char *key, void *data, void_f_pvoid_t free_ctn) |
| Add data to the dict (null-terminated key) More...
|
|
void * | xbt_dict_get (xbt_dict_t dict, const char *key) |
| Retrieve data from the dict (null-terminated key) More...
|
|
void * | xbt_dict_get_or_null (xbt_dict_t dict, const char *key) |
| like xbt_dict_get(), but returning NULL when not found More...
|
|
char * | xbt_dict_get_key (xbt_dict_t dict, const void *data) |
| retrieve the key associated to that object. More...
|
|
char * | xbt_dict_get_elm_key (xbt_dictelm_t elem) |
| retrieve the key associated to that xbt_dictelm_t. More...
|
|
xbt_dictelm_t | xbt_dict_get_elm (xbt_dict_t dict, const char *key) |
| Retrieve element from the dict (null-terminated key) More...
|
|
xbt_dictelm_t | xbt_dict_get_elm_or_null (xbt_dict_t dict, const char *key) |
| like xbt_dict_get_elm(), but returning NULL when not found More...
|
|
void | xbt_dict_remove (xbt_dict_t dict, const char *key) |
| Remove data from the dict (null-terminated key) More...
|
|
void | xbt_dict_reset (xbt_dict_t dict) |
| Remove all data from the dict. More...
|
|
int | xbt_dict_length (xbt_dict_t dict) |
| Return the number of elements in the dict. More...
|
|
void | xbt_dict_dump_output_string (void *s) |
| function to be used in xbt_dict_dump as long as the stored values are strings More...
|
|
void | xbt_dict_dump (xbt_dict_t dict, void(*output)(void *)) |
| Outputs the content of the structure (debugging purpose) More...
|
|
void | xbt_dict_dump_sizes (xbt_dict_t dict) |
| shows some debugging info about the bucklet repartition More...
|
|
int | xbt_dict_is_empty (xbt_dict_t dict) |
| test if the dict is empty or not More...
|
|
void | xbt_dict_set_ext (xbt_dict_t dict, const char *key, int key_len, void *data, void_f_pvoid_t free_ctn) |
| Add data to the dict (arbitrary key) More...
|
|
void * | xbt_dict_get_ext (xbt_dict_t dict, const char *key, int key_len) |
| Retrieve data from the dict (arbitrary key) More...
|
|
void * | xbt_dict_get_or_null_ext (xbt_dict_t dict, const char *key, int key_len) |
| like xbt_dict_get_ext(), but returning NULL when not found More...
|
|
void | xbt_dict_remove_ext (xbt_dict_t dict, const char *key, int key_len) |
| Remove data from the dict (arbitrary key) More...
|
|
static xbt_dictelm_t | xbt_dict_cursor_get_elm (xbt_dict_cursor_t cursor) |
|
xbt_dict_cursor_t | xbt_dict_cursor_new (const xbt_dict_t dict) |
| Creator. More...
|
|
void | xbt_dict_cursor_free (xbt_dict_cursor_t *cursor) |
| Destructor. More...
|
|
void | xbt_dict_cursor_rewind (xbt_dict_cursor_t cursor) |
| Reinitialize the cursor. More...
|
|
char * | xbt_dict_cursor_get_key (xbt_dict_cursor_t cursor) |
| Get current key. More...
|
|
void * | xbt_dict_cursor_get_data (xbt_dict_cursor_t cursor) |
| Get current data. More...
|
|
void | xbt_dict_cursor_set_data (xbt_dict_cursor_t cursor, void *data, void_f_pvoid_t free_ctn) |
| Set current data. More...
|
|
void | xbt_dict_cursor_first (const xbt_dict_t dict, xbt_dict_cursor_t *cursor) |
| Create the cursor if it does not exists. More...
|
|
void | xbt_dict_cursor_step (xbt_dict_cursor_t cursor) |
| Move to the next element. More...
|
|
int | xbt_dict_cursor_get_or_free (xbt_dict_cursor_t *cursor, char **key, void **data) |
| Get current data, or free the cursor if there is no data left. More...
|
|