|
My Project
programmer's documentation
|
Go to the documentation of this file. 1 #ifndef __CS_PARAMETERS_CHECK_H__
2 #define __CS_PARAMETERS_CHECK_H__
78 const char *section_desc,
81 __attribute__((format(printf, 3, 4)));
87 const char *section_desc,
107 const char *section_desc,
123 const char *section_desc);
152 const char *section_desc,
153 const char *param_name,
175 const char *section_desc,
176 const char *param_name,
199 const char *section_desc,
200 const char *param_name,
203 const int *enum_values,
204 const char *enum_names[]);
225 const char *section_desc,
226 const char *param_name,
229 const int *enum_values,
230 const char *enum_names[]);
247 const char *section_desc,
248 const char *param_name,
267 const char *section_desc,
268 const char *param_name,
286 const char *section_desc,
287 const char *param_name,
305 const char *section_desc,
306 const char *param_name,
326 const char *section_desc,
327 const char *param_name,
349 const char *section_desc,
350 const char *param_name,
353 const double *enum_values,
354 const char *enum_names[]);
371 const char *section_desc,
372 const char *param_name,
391 const char *section_desc,
392 const char *param_name,
void cs_parameters_is_equal_int(cs_parameter_error_behavior_t err_behavior, const char *section_desc, const char *param_name, int param_value, int std_value)
Check that a given integer keyword is equal to a specified value.
Definition: cs_parameters_check.c:470
void cs_parameters_is_equal_double(cs_parameter_error_behavior_t err_behavior, const char *section_desc, const char *param_name, double param_value, double std_value)
Check that a given double keyword is equal to a specified value.
Definition: cs_parameters_check.c:711
void cs_parameters_is_greater_int(cs_parameter_error_behavior_t err_behavior, const char *section_desc, const char *param_name, int param_value, int ib_value)
Check that a given int keyword is greater than a specified value.
Definition: cs_parameters_check.c:580
void cs_parameters_is_in_range_double(cs_parameter_error_behavior_t err_behavior, const char *section_desc, const char *param_name, double param_value, double range_l, double range_u)
Check that a given double keyword has values in a specified range.
Definition: cs_parameters_check.c:616
void cs_parameters_error_barrier(void)
Abort if the the parameter errors count is nonzero.
Definition: cs_parameters_check.c:781
void cs_parameters_error_footer(cs_parameter_error_behavior_t err_behavior)
Print footer for a given parameters error message type.
Definition: cs_parameters_check.c:231
void cs_parameters_is_greater_double(cs_parameter_error_behavior_t err_behavior, const char *section_desc, const char *param_name, double param_value, double ib_value)
Check that a given double keyword is greater than a specified value.
Definition: cs_parameters_check.c:753
#define END_C_DECLS
Definition: cs_defs.h:468
Definition: cs_parameters_check.h:53
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
void cs_parameters_is_not_in_list_int(cs_parameter_error_behavior_t err_behavior, const char *section_desc, const char *param_name, int param_value, int enum_size, const int *enum_values, const char *enum_names[])
Check that a given integer keyword does not have values in a specified list.
Definition: cs_parameters_check.c:400
void cs_parameters_is_in_list_int(cs_parameter_error_behavior_t err_behavior, const char *section_desc, const char *param_name, int param_value, int enum_size, const int *enum_values, const char *enum_names[])
Check that a given integer keyword has values in a specified range.
Definition: cs_parameters_check.c:331
void cs_parameters_check(void)
Check computation parameters after user modification.
Definition: cs_parameters_check.c:805
void cs_parameters_error_header(cs_parameter_error_behavior_t err_behavior, const char *section_desc)
Print header for a given parameters error message type.
Definition: cs_parameters_check.c:194
Definition: cs_parameters_check.h:54
void cs_parameters_is_in_list_double(cs_parameter_error_behavior_t err_behavior, const char *section_desc, const char *param_name, double param_value, int enum_size, const double *enum_values, const char *enum_names[])
Check that a given double keyword has values in a specified list.
Definition: cs_parameters_check.c:654
void cs_parameters_is_positive_int(cs_parameter_error_behavior_t err_behavior, const char *section_desc, const char *param_name, int param_value)
Check that a given integer keyword is strictly positive.
Definition: cs_parameters_check.c:546
void cs_parameters_is_in_range_int(cs_parameter_error_behavior_t err_behavior, const char *section_desc, const char *param_name, int param_value, int range_l, int range_u)
Check that a given integer keyword has values in a specified range.
Definition: cs_parameters_check.c:254
void cs_parameters_is_not_equal_int(cs_parameter_error_behavior_t err_behavior, const char *section_desc, const char *param_name, int param_value, int fbd_value)
Check that a given integer keyword is not equal to a specified value.
Definition: cs_parameters_check.c:512
cs_parameter_error_behavior_t
File acces modes.
Definition: cs_parameters_check.h:50
void cs_parameters_is_not_in_range_int(cs_parameter_error_behavior_t err_behavior, const char *section_desc, const char *param_name, int param_value, int range_l, int range_u)
Check that a given integer keyword has not values in a specified range.
Definition: cs_parameters_check.c:292
void cs_parameters_error(cs_parameter_error_behavior_t err_behavior, const char *section_desc, const char *format,...)
Print general parameters error or warning info.
Definition: cs_parameters_check.c:164
Definition: cs_parameters_check.h:52