The Parameter_parser class is an abstract base class which is used to parse ini-style file formats that control the registration, mabs, and dose calculation codes.
More...
#include <parameter_parser.h>
The Parameter_parser class is an abstract base class which is used to parse ini-style file formats that control the registration, mabs, and dose calculation codes.
◆ Parameter_parser()
Parameter_parser::Parameter_parser |
( |
| ) |
|
◆ allow_empty_values()
void Parameter_parser::allow_empty_values |
( |
bool |
enable | ) |
|
If a key does not have an equal sign, it will be considered a syntax error unless empty values are allowed.
◆ begin_section()
◆ enable_key_regularization()
void Parameter_parser::enable_key_regularization |
( |
bool |
enable | ) |
|
Key regularization convert the key field to lowercase and changes hyphens to underscores. Only the key is modified. Pass in "true" to enable key regularization, or "false" to disable it. Default is "true".
◆ end_section()
◆ parse_config_file() [1/2]
◆ parse_config_file() [2/2]
◆ parse_config_string() [1/2]
◆ parse_config_string() [2/2]
◆ set_default_index() [1/2]
void Parameter_parser::set_default_index |
( |
const char * |
default_index | ) |
|
◆ set_default_index() [2/2]
void Parameter_parser::set_default_index |
( |
std::string & |
default_index | ) |
|
Choose what index is passed to set_key_value() when no index is found in the file. Default is "".
◆ set_key_value()
◆ default_index
std::string Parameter_parser::default_index |
◆ empty_values_allowed
bool Parameter_parser::empty_values_allowed |
◆ key_regularization
bool Parameter_parser::key_regularization |
The documentation for this class was generated from the following files: