void Hdf::configGet(std::map<std::string, std::string, stdltistr> &values) const { values.clear(); for (Hdf hdf = firstChild(); hdf.exists(); hdf = hdf.next()) { values[hdf.getName()] = hdf.configGetString(""); } }
void Hdf::lint(std::vector<std::string> &names, const char *excludePatternNode /* = "LintExcludePatterns" */, bool visited /* = false */) { std::vector<std::string> patterns; if (excludePatternNode && *excludePatternNode) { for (Hdf hdf = operator[](excludePatternNode).firstChild(); hdf.exists(); hdf = hdf.next()) { std::string value = hdf.configGetString(); if (!value.empty()) { patterns.push_back(value); } } } lintImpl(names, patterns, visited); }
void Hdf::configGet(std::set<std::string, stdltistr> &values) const { values.clear(); for (Hdf hdf = firstChild(); hdf.exists(); hdf = hdf.next()) { values.insert(hdf.configGetString("")); } }
void Hdf::configGet(boost::container::flat_set<std::string> &values) const { values.clear(); for (Hdf hdf = firstChild(); hdf.exists(); hdf = hdf.next()) { values.insert(hdf.configGetString("")); } }
void Hdf::configGet(std::vector<std::string> &values) const { values.clear(); for (Hdf hdf = firstChild(); hdf.exists(); hdf = hdf.next()) { values.push_back(hdf.configGetString("")); } }