Go to the source code of this file.
Data Structures | |
| struct | GlobalConfig |
| struct | ModelConfig |
| struct | EvalConfig |
Functions | |
| bool | eval_config_load (const std::string &path, EvalConfig &cfg) |
| eval_config_load: Parse the GKeyFile INI at @path and overlay found values into @cfg. More... | |
| bool eval_config_load | ( | const std::string & | path, |
| EvalConfig & | cfg | ||
| ) |
eval_config_load: Parse the GKeyFile INI at @path and overlay found values into @cfg.
Only keys that are present in the file are written; absent keys leave the corresponding @cfg fields unchanged (caller pre-populates defaults from GObject properties before calling this).
Returns true on success (file opened and parsed). Returns false if the file could not be opened or has a parse error; @cfg is left partially updated in that case and the caller should treat it as invalid.