| 93 | } |
| 94 | |
| 95 | bool getNodeAttribute(const XmlNode &node, const std::string &attribute, std::string &value) { |
| 96 | pugi::xml_attribute objectAttribute = node.attribute(attribute.c_str()); |
| 97 | if (!objectAttribute.empty()) { |
| 98 | value = objectAttribute.as_string(); |
| 99 | return true; |
| 100 | } |
| 101 | |
| 102 | return false; |
| 103 | } |
| 104 | |
| 105 | bool getNodeAttribute(const XmlNode &node, const std::string &attribute, int &value) { |
| 106 | std::string strValue; |
no test coverage detected