| 172 | } |
| 173 | |
| 174 | void MakeUnitSpecList(const mdf::IXmlNode &root, |
| 175 | mdf::detail::BlockPropertyList &dest) { |
| 176 | mdf::IXmlNode::ChildList list; |
| 177 | root.GetChildList(list); |
| 178 | if (list.empty()) { |
| 179 | return; |
| 180 | } |
| 181 | for (const auto &c : list) { |
| 182 | if (c->IsTagName("PHYSICAL-DIMENSIONS")) { |
| 183 | MakePhysicalDimensionList(*c, dest); |
| 184 | } else if (c->IsTagName("UNITGROUPS")) { |
| 185 | MakeUnitGroupList(*c, dest); |
| 186 | } else if (c->IsTagName("UNITS")) { |
| 187 | MakeUnitList(*c, dest); |
| 188 | } |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | void MakeCommonProperty(const mdf::IXmlNode &e, |
| 193 | mdf::detail::BlockPropertyList &dest) { |
no test coverage detected