| 466 | } |
| 467 | |
| 468 | bool BCLXML::hasFile(const openstudio::path& path) const { |
| 469 | bool result = false; |
| 470 | |
| 471 | const openstudio::path test = openstudio::filesystem::system_complete(path); |
| 472 | |
| 473 | for (const BCLFileReference& file : m_files) { |
| 474 | if (file.path() == test) { |
| 475 | result = true; |
| 476 | break; |
| 477 | } |
| 478 | } |
| 479 | |
| 480 | return result; |
| 481 | } |
| 482 | |
| 483 | bool BCLXML::removeFile(const openstudio::path& path) { |
| 484 | bool result = false; |