18 namespace PhreeqcIOData
23 std::vector<Component> components;
28 auto const& component_config :
30 components_config.getConfigSubtreeList(
"component"))
32 auto const component_name = component_config.
getValue<std::string>();
33 auto const chemical_formula =
35 component_config.getConfigAttribute<std::string>(
"chemical_formula",
37 components.emplace_back(component_name, chemical_formula);
ConfigTree getConfigSubtree(std::string const &root) const
std::vector< Component > createSolutionComponents(BaseLib::ConfigTree const &config)