grasp_settings.h
Go to the documentation of this file.
60 // parameters is an array of parameters in string format (example: retrieval.number_wavelengths=3)
61 int grasp_settings_read(grasp_output_stream *controller_stream, yamlsettings_dictionary_t **dictionary, int nparameters, char const *parameters[], yamlsettings_parser_settings_file_mode settings_file_mode);
75 // Function which is called after process settings. This function will call other functions in order to set properly all settings structure
78 int grasp_settings_to_yaml_string(char content[], grasp_settings *settings, bool print_defaults, bool force_arrays);
82 int grasp_settings_dump(char *stream_pattern, grasp_settings *settings, bool print_defaults, bool force_arrays);
85 // for some actions it is needed to have it before (validators, assigments, post-processing, ...)
Definition: grasp_output_stream_t.h:24
void grasp_settings_destroy(grasp_settings *settings)
Definition: grasp_settings.c:697
struct grasp_settings_parameter_array_ grasp_settings_parameter_array
int grasp_settings_deduct_nwl(yamlsettings_dictionary_t *dictionary)
Definition: grasp_settings.c:770
char * grasp_settings_to_string(const char *filename)
Definition: grasp_settings.c:678
int grasp_settings_to_yaml_string(char content[], grasp_settings *settings, bool print_defaults, bool force_arrays)
Definition: grasp_settings.c:428
grasp_settings_parameter_array * grasp_settings_parameter_array_allocate(int nelements)
Definition: grasp_settings.c:701
yamlsettings_parameter * parameters
Definition: grasp_settings.h:45
yamlsettings_dictionary_t * grasp_settings_dictionary_get(grasp_settings *settings)
Definition: grasp_settings.c:38
int grasp_settings_dump(char *stream_pattern, grasp_settings *settings, bool print_defaults, bool force_arrays)
Definition: grasp_settings.c:476
Definition: grasp_settings.h:43
void grasp_settings_parameter_array_destroy(grasp_settings_parameter_array *x)
Definition: grasp_settings.c:716
void grasp_settings_postprocess_function(yamlsettings_dictionary_t *dictionary)
Definition: grasp_settings.c:417
int grasp_settings_description_json(char *json, int json_length)
Definition: grasp_settings.c:449
void grasp_settings_help(grasp_output_stream *controller_stream, const char *filter)
Definition: grasp_settings.c:614
Definition: grasp_settings_t.h:409
int grasp_settings_read(grasp_output_stream *controller_stream, yamlsettings_dictionary_t **dictionary, int nparameters, char const *parameters[], yamlsettings_parser_settings_file_mode settings_file_mode)
Definition: grasp_settings.c:513