| 317 | } |
| 318 | |
| 319 | bool QcMLFile::existsRun(const String& filename, bool checkname) const |
| 320 | { |
| 321 | std::map<String, std::vector<QcMLFile::QualityParameter> >::const_iterator qpsit = runQualityQPs_.find(filename); //if 'filename is a ID:' |
| 322 | if (qpsit != runQualityQPs_.end()) //NO, do not!: permit AT without a QP |
| 323 | { |
| 324 | return true; |
| 325 | } |
| 326 | else if (checkname) |
| 327 | { |
| 328 | std::map<String, String>::const_iterator qpsit = run_Name_ID_map_.find(filename); //if 'filename' is a name |
| 329 | if (qpsit != run_Name_ID_map_.end()) //NO, do not!: permit AT without a QP |
| 330 | { |
| 331 | return true; |
| 332 | } |
| 333 | |
| 334 | } |
| 335 | return false; |
| 336 | } |
| 337 | |
| 338 | bool QcMLFile::existsSet(const String& filename, bool checkname) const |
| 339 | { |
no test coverage detected