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

Method get

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

Source from the content-addressed store, hash-verified

91}
92
93std::string Node::get(const std::string& attribute) const
94{
95 const auto it = m_attrs.find(attribute);
96 if (it != m_attrs.end())
97 {
98 return it->second;
99 }
100
101 return "";
102}
103
104void Node::set(const std::string& attribute, std::string value)
105{

Callers 15

xml.cppFile · 0.45
selectMethod · 0.45
processInterfaceMethod · 0.45
processMethodsMethod · 0.45
processSignalsMethod · 0.45
processPropertiesMethod · 0.45
processInterfaceMethod · 0.45
processMethodsMethod · 0.45
processSignalsMethod · 0.45
processPropertiesMethod · 0.45
getAnnotationsMethod · 0.45
argsToNamesAndTypesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected