| 35 | } |
| 36 | |
| 37 | Node Node::createChild(const std::string& name) |
| 38 | { |
| 39 | std::lock_guard lock(_owner->getLock()); |
| 40 | |
| 41 | // Create a new child under the contained node |
| 42 | auto newChild = _xmlNode.append_child(name.c_str()); |
| 43 | |
| 44 | // Create a new xml::Node out of this pointer and return it |
| 45 | return Node(_owner, newChild); |
| 46 | } |
| 47 | |
| 48 | NodeList Node::getNamedChildren(const std::string& name) const |
| 49 | { |
no test coverage detected