MCPcopy Create free account
hub / github.com/ByConity/ByConity / getMultipleValuesFromConfig

Function getMultipleValuesFromConfig

src/Common/getMultipleKeysFromConfig.cpp:23–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22
23std::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}

Callers 7

mainMethod · 0.85
mainMethod · 0.85
TESTFunction · 0.85
mainMethod · 0.85
mainMethod · 0.85
mainMethod · 0.85

Calls 4

emplace_backMethod · 0.45
getStringMethod · 0.45
emptyMethod · 0.45

Tested by 1

TESTFunction · 0.68