24 parameter_set.
put(xml_input);
28 xmlNodePtr cur = xml_input->children;
31 std::string cname((
const char*)(cur->name));
32 if (cname.find(
"optimize") < cname.size())
helper functions for EinsplineSetBuilder
A collection of put/get functions to read from or write to a xmlNode defined in libxml2.
bool put(std::istream &is) override
read from std::istream
class to handle a set of parameters
std::string getXMLAttributeValue(const xmlNodePtr cur, const std::string_view name)
get the value string for attribute name if name is unfound in cur you get an empty string back this i...
void add(PDT &aparam, const std::string &aname_in, std::vector< PDT > candidate_values={}, TagStatus status=TagStatus::OPTIONAL)
add a new parameter corresponding to an xmlNode <parameter>
void readXML(xmlNodePtr xml_input)