algo: Add config micro-library to read YAML files and map to C++ classes.
Add config micro-library to read YAML files and map to C++ classes. This is a back-port from my core fork.
As an example, I've also added the RecoParams
and the corresponding config file. I.e. the config from file can be read like this:
YAML::Node yaml = YAML::LoadFile("RecoParams.yaml");
RecoParams params = config::Read<RecoParams>(yaml);
Or to dump params
to YAML, as a string:
std::string yaml = config::Dump{}(params);
Merge request reports
Activity
added 1 commit
- 09141f15 - algo: Add config micro-library to read YAML files and map to C++ classes.
added 1 commit
- 72d3d01d - algo: Add config micro-library to read YAML files and map to C++ classes.
Dear @f.uhlig, @v.friese, @p.-a.loizeau,
you have been identified as code owner of at least one file which was changed with this merge request.
Please check the changes and approve them or request changes.
added CodeOwners label
mentioned in merge request !1161 (merged)
requested review from @v.friese
assigned to @fweig
added 10 commits
-
72d3d01d...ae306961 - 9 commits from branch
computing:master
- fe9d6bbf - algo: Add config micro-library to read YAML files and map to C++ classes.
-
72d3d01d...ae306961 - 9 commits from branch
added 14 commits
-
fe9d6bbf...cf2edc0d - 14 commits from branch
computing:master
-
fe9d6bbf...cf2edc0d - 14 commits from branch
Note: Changes were already (by accident) contained in !1159 (merged). So closing this now.
@v.friese, let me know, if you have any questions / remarks regarding these changes.