| 100 | } |
| 101 | |
| 102 | void MakeUnitGroupList(const mdf::IXmlNode &root, |
| 103 | mdf::detail::BlockPropertyList &dest) { |
| 104 | mdf::IXmlNode::ChildList list; |
| 105 | root.GetChildList(list); |
| 106 | if (list.empty()) { |
| 107 | return; |
| 108 | } |
| 109 | dest.emplace_back("", "", "", mdf::detail::BlockItemType::BlankItem); |
| 110 | dest.emplace_back("Unit Groups", "", "", |
| 111 | mdf::detail::BlockItemType::HeaderItem); |
| 112 | for (const auto &c : list) { |
| 113 | MakeUnitGroup(*c, dest); |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | void MakeUnit(const mdf::IXmlNode &unit, mdf::detail::BlockPropertyList &dest) { |
| 118 | mdf::IXmlNode::ChildList list; |
no test coverage detected