MCPcopy Create free account
hub / github.com/Kistler-Group/sdbus-cpp / select

Method select

tools/xml2cpp-codegen/xml.cpp:60–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60Nodes Nodes::select(const std::string& attr, const std::string& value) const
61{
62 Nodes result;
63
64 for (auto it = begin(), itEnd = end(); it != itEnd; ++it)
65 {
66 if ((*it)->get(attr) == value)
67 {
68 result.insert(result.end(), *it);
69 }
70 }
71 return result;
72}
73
74Nodes Node::operator[](const std::string& key)
75{

Callers 2

processMethodsMethod · 0.80
processMethodsMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected