SimGrid 3.6.2
Scalable simulation of distributed systems
Typedefs | Functions
Dict constructor and destructor
Dict: generic dictionnary

Typedefs

typedef struct xbt_dict_ * xbt_dict_t
 Dictionary data type (opaque structure)

Functions

xbt_dict_t xbt_dict_new (void)
 Constructor.
void xbt_dict_free (xbt_dict_t *dict)
 Destructor.
unsigned int xbt_dict_size (xbt_dict_t dict)

Function Documentation

xbt_dict_t xbt_dict_new ( void  )

Constructor.

Returns:
pointer to the destination
See also:
xbt_dict_new_ext(), xbt_dict_free()

Creates and initialize a new dictionary with a default hashtable size.

void xbt_dict_free ( xbt_dict_t dict)

Destructor.

Parameters:
dictthe 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.6.2.
Documentation of other versions can be found in their respective archive files (directory doc/html).
Generated for SimGridAPI by doxygen