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

Method ToNames

lib/mdflib/mdflib/src/mdcomment.cpp:155–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155void MdComment::ToNames(IXmlNode& root_node) const {
156 if (alternative_name_.IsActive()) {
157 auto& names_node = root_node.AddNode("names");
158 alternative_name_.ToXml(names_node);
159 }
160}
161void MdComment::ToCommonProp(IXmlNode& root_node) const {
162 if (common_property_.IsActive()) {
163 auto& prop_node = root_node.AddNode("common_properties");

Callers

nothing calls this directly

Calls 3

AddNodeMethod · 0.80
IsActiveMethod · 0.45
ToXmlMethod · 0.45

Tested by

no test coverage detected