|
SimGrid
3.14.159
Versatile Simulation of Distributed Systems
|
#include <xbt/ex.hpp>#include "src/internal_config.h"#include "xbt/misc.h"#include "xbt/sysdep.h"#include "xbt/str.h"#include "xbt/strbuff.h"Functions | |
| void | xbt_str_rtrim (char *s, const char *char_list) |
| Strip whitespace (or other characters) from the end of a string. More... | |
| void | xbt_str_ltrim (char *s, const char *char_list) |
| Strip whitespace (or other characters) from the beginning of a string. More... | |
| void | xbt_str_trim (char *s, const char *char_list) |
| Strip whitespace (or other characters) from the end and the begining of a string. More... | |
| void | xbt_str_subst (char *str, char from, char to, int occurence) |
| Substitutes a char for another in a string. More... | |
| char * | xbt_str_varsubst (const char *str, xbt_dict_t patterns) |
| Replaces a set of variables by their values. More... | |
| xbt_dynar_t | xbt_str_split (const char *s, const char *sep) |
| Splits a string into a dynar of strings. More... | |
| xbt_dynar_t | xbt_str_split_str (const char *s, const char *sep) |
| This functions splits a string after using another string as separator For example A!!B!!C splitted after !! will return the dynar {A,B,C}. More... | |
| xbt_dynar_t | xbt_str_split_quoted_in_place (char *s) |
| Just like xbt_str_split_quoted (Splits a string into a dynar of strings), but without memory allocation. More... | |
| xbt_dynar_t | xbt_str_split_quoted (const char *s) |
| Splits a string into a dynar of strings, taking quotes into account. More... | |
| char * | xbt_str_join (xbt_dynar_t dyn, const char *sep) |
| Join a set of strings as a single string. More... | |
| char * | xbt_str_join_array (const char *const *strs, const char *sep) |
| Join a set of strings as a single string. More... | |
| char * | xbt_str_from_file (FILE *file) |
| creates a new string containing what can be read on a fd More... | |
| long int | xbt_str_parse_int (const char *str, const char *error_msg) |
| Parse an integer out of a string, or raise an error. More... | |
| double | xbt_str_parse_double (const char *str, const char *error_msg) |
| Parse a double out of a string, or raise an error. More... | |