! returns the nth child */
| 50 | |
| 51 | /*! returns the nth child */ |
| 52 | const Ref<XML> child(const size_t id) const |
| 53 | { |
| 54 | if (id >= children.size()) |
| 55 | THROW_RUNTIME_ERROR (loc.str()+": XML node has no child \"" + toString(id) + "\""); |
| 56 | return children[id]; |
| 57 | } |
| 58 | |
| 59 | /*! returns child by node tag */ |
| 60 | const Ref<XML> child(const std::string& childID) const |
no test coverage detected