SimGrid
3.13
Versatile Simulation of Distributed Systems
|
Classes | |
struct | xbt_boolean_couple |
Boolean possible values. More... | |
Typedefs | |
typedef void * | xbt_cfg_t |
Configuration set's data type is opaque. More... | |
typedef void(* | xbt_cfg_cb_t) (const char *name) |
Callback types. More... | |
Enumerations | |
enum | e_xbt_cfgelm_type_t { xbt_cfgelm_int = 0, xbt_cfgelm_double, xbt_cfgelm_string, xbt_cfgelm_boolean, xbt_cfgelm_alias } |
possible content of each configuration cell More... | |
Functions | |
void | xbt_cfg_set (xbt_cfg_t cfg, const char *name,...) |
Add a NULL-terminated list of pairs {(char*)key, value} to the set. More... | |
void | xbt_cfg_set_vargs (xbt_cfg_t cfg, const char *name, va_list pa) |
va_args version of xbt_cfg_set More... | |
void | xbt_cfg_set_parse (const char *options) |
Add values parsed from a string into a config set. More... | |
void | xbt_cfg_set_int (const char *name, int val) |
Set an integer value to name within cfg. More... | |
void | xbt_cfg_set_double (const char *name, double val) |
Set or add a double value to name within cfg. More... | |
void | xbt_cfg_set_string (const char *name, const char *val) |
Set or add a string value to name within cfg. More... | |
void | xbt_cfg_set_boolean (const char *name, const char *val) |
Set or add a boolean value to name within cfg. More... | |
void * | xbt_cfg_set_as_string (const char *name, const char *val) |
Set the value of a variable, using the string representation of that value. More... | |
void | xbt_cfg_setdefault_int (const char *name, int val) |
Set an integer value to name within cfg if it wasn't changed yet. More... | |
void | xbt_cfg_setdefault_double (const char *name, double val) |
Set an integer value to name within cfg if it wasn't changed yet. More... | |
void | xbt_cfg_setdefault_string (const char *name, const char *val) |
Set a string value to name within cfg if it wasn't changed yet. More... | |
void | xbt_cfg_setdefault_boolean (const char *name, const char *val) |
Set an boolean value to name within cfg if it wasn't changed yet. More... | |
int | xbt_cfg_is_default_value (const char *name) |
Return if configuration is set by default. More... | |
xbt_cfg_t | xbt_cfg_new (void) |
Constructor. More... | |
void | xbt_cfg_free (xbt_cfg_t *cfg) |
Destructor. More... | |
void | xbt_cfg_dump (const char *name, const char *indent, xbt_cfg_t cfg) |
Dump a config set for debuging purpose. More... | |
void | xbt_cfg_register_double (const char *name, double default_val, xbt_cfg_cb_t cb_set, const char *desc) |
void | xbt_cfg_register_int (const char *name, int default_val, xbt_cfg_cb_t cb_set, const char *desc) |
void | xbt_cfg_register_string (const char *name, const char *default_val, xbt_cfg_cb_t cb_set, const char *desc) |
void | xbt_cfg_register_boolean (const char *name, const char *default_val, xbt_cfg_cb_t cb_set, const char *desc) |
void | xbt_cfg_register_alias (const char *newname, const char *oldname) |
void | xbt_cfg_register_str (xbt_cfg_t *cfg, const char *entry) |
Parse a string and register the stuff described. More... | |
void | xbt_cfg_aliases (void) |
Displays the declared aliases and their description. More... | |
void | xbt_cfg_help (void) |
Displays the declared options and their description. More... | |
e_xbt_cfgelm_type_t | xbt_cfg_get_type (xbt_cfg_t cfg, const char *name) |
Get the type of this variable in that configuration set. More... | |
int | xbt_cfg_get_int (const char *name) |
Retrieve an integer value of a variable (get a warning if not uniq) More... | |
double | xbt_cfg_get_double (const char *name) |
Retrieve a double value of a variable (get a warning if not uniq) More... | |
char * | xbt_cfg_get_string (const char *name) |
Retrieve a string value of a variable (get a warning if not uniq) More... | |
int | xbt_cfg_get_boolean (const char *name) |
Retrieve a boolean value of a variable (get a warning if not uniq) More... | |