| 158 | } |
| 159 | |
| 160 | void MakeUnitList(const mdf::IXmlNode &root, |
| 161 | mdf::detail::BlockPropertyList &dest) { |
| 162 | mdf::IXmlNode::ChildList list; |
| 163 | root.GetChildList(list); |
| 164 | if (list.empty()) { |
| 165 | return; |
| 166 | } |
| 167 | dest.emplace_back("", "", "", mdf::detail::BlockItemType::BlankItem); |
| 168 | dest.emplace_back("Units", "", "", mdf::detail::BlockItemType::HeaderItem); |
| 169 | for (const auto &c : list) { |
| 170 | MakeUnit(*c, dest); |
| 171 | } |
| 172 | } |
| 173 | |
| 174 | void MakeUnitSpecList(const mdf::IXmlNode &root, |
| 175 | mdf::detail::BlockPropertyList &dest) { |
no test coverage detected