MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / GetAttributeList

Method GetAttributeList

lib/mdflib/mdflib/src/ixmlnode.cpp:191–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191IXmlNode::KeyValueList IXmlNode::GetAttributeList() const {
192 KeyValueList attr_list;
193 for (const auto& [key, value] : attribute_list_) {
194 if (!key.empty()) {
195 attr_list.emplace(key, value);
196 }
197 }
198 return attr_list;
199}
200
201bool IXmlNode::HasChildren() const {
202 return !node_list_.empty();

Callers 3

FromXmlMethod · 0.80
FromXmlMethod · 0.80
FromXmlMethod · 0.80

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected