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

Function MakePhysicalDimensionList

lib/mdflib/mdflib/src/md4block.cpp:60–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void MakePhysicalDimensionList(const mdf::IXmlNode &root,
61 mdf::detail::BlockPropertyList &dest) {
62 mdf::IXmlNode::ChildList list;
63 root.GetChildList(list);
64 if (list.empty()) {
65 return;
66 }
67 dest.emplace_back("", "", "", mdf::detail::BlockItemType::BlankItem);
68 dest.emplace_back("Physical Dimensions", "", "",
69 mdf::detail::BlockItemType::HeaderItem);
70 for (const auto &c : list) {
71 MakePhysicalDimension(*c, dest);
72 }
73}
74
75void MakeUnitGroup(const mdf::IXmlNode &pd,
76 mdf::detail::BlockPropertyList &dest) {

Callers 1

MakeUnitSpecListFunction · 0.85

Calls 3

MakePhysicalDimensionFunction · 0.85
emptyMethod · 0.80
GetChildListMethod · 0.45

Tested by

no test coverage detected