| 91 | } |
| 92 | |
| 93 | std::string Node::get(const std::string& attribute) const |
| 94 | { |
| 95 | const auto it = m_attrs.find(attribute); |
| 96 | if (it != m_attrs.end()) |
| 97 | { |
| 98 | return it->second; |
| 99 | } |
| 100 | |
| 101 | return ""; |
| 102 | } |
| 103 | |
| 104 | void Node::set(const std::string& attribute, std::string value) |
| 105 | { |
no outgoing calls
no test coverage detected