SimGrid 3.7.1
Scalable simulation of distributed systems
|
Typedefs | |
typedef struct s_xbt_dict * | xbt_dict_t |
Dictionary data type (opaque structure) | |
Functions | |
xbt_dict_t | xbt_dict_new (void) |
Constructor. | |
xbt_dict_t | xbt_dict_new_homogeneous (void_f_pvoid_t free_ctn) |
Constructor. | |
void | xbt_dict_free (xbt_dict_t *dict) |
Destructor. | |
unsigned int | xbt_dict_size (xbt_dict_t dict) |
xbt_dict_t xbt_dict_new | ( | void | ) |
Constructor.
Creates and initialize a new dictionary with a default hashtable size. The dictionary is heterogeneous: each element can have a different free function.
xbt_dict_t xbt_dict_new_homogeneous | ( | void_f_pvoid_t | free_ctn | ) |
Constructor.
free_ctn | function to call with (data as argument) when data is removed from the dictionary |
Creates and initialize a new dictionary with a default hashtable size. The dictionary is homogeneous: each element share the same free function.
void xbt_dict_free | ( | xbt_dict_t * | dict | ) |
Destructor.
dict | the dictionary to be freed |
Frees a dictionary with all the data
unsigned int xbt_dict_size | ( | xbt_dict_t | dict | ) |
Returns the amount of elements in the dict
Back to the main Simgrid Documentation page |
The version of SimGrid documented here is v3.7.1. Documentation of other versions can be found in their respective archive files (directory doc/html). |
Generated by ![]() |