! checks if child with specified node tag exists */
| 18 | |
| 19 | /*! checks if child with specified node tag exists */ |
| 20 | bool hasChild(const std::string& childID) const |
| 21 | { |
| 22 | for (size_t i=0; i<children.size(); i++) |
| 23 | if (children[i]->name == childID) return true; |
| 24 | return false; |
| 25 | } |
| 26 | |
| 27 | /*! returns a parameter of the XML node */ |
| 28 | std::string parm(const std::string& parmID) const { |
no test coverage detected