| 43 | } |
| 44 | |
| 45 | float parm_float(const std::string& parmID) const { |
| 46 | std::map<std::string,std::string>::const_iterator i = parms.find(parmID); |
| 47 | if (i == parms.end()) THROW_RUNTIME_ERROR (loc.str()+": XML node has no parameter \"" + parmID + "\""); |
| 48 | return std::stof(i->second); |
| 49 | } |
| 50 | |
| 51 | /*! returns the nth child */ |
| 52 | const Ref<XML> child(const size_t id) const |
no test coverage detected