| 21 | |
| 22 | |
| 23 | std::vector<std::string> getMultipleValuesFromConfig(const Poco::Util::AbstractConfiguration & config, const std::string & root, const std::string & name) |
| 24 | { |
| 25 | std::vector<std::string> values; |
| 26 | for (const auto & key : DB::getMultipleKeysFromConfig(config, root, name)) |
| 27 | values.emplace_back(config.getString(root.empty() ? key : root + "." + key)); |
| 28 | return values; |
| 29 | } |
| 30 | |
| 31 | } |