| 55 | } |
| 56 | |
| 57 | ModelObject ExternalFile_Impl::clone(Model model) const { |
| 58 | boost::optional<ExternalFile> externalFile = ExternalFile::getExternalFile(model, toString(this->filePath())); |
| 59 | if (!externalFile) { |
| 60 | LOG_AND_THROW("Could not clone " << this->briefDescription()); |
| 61 | } |
| 62 | return *externalFile; |
| 63 | } |
| 64 | |
| 65 | std::vector<IdfObject> ExternalFile_Impl::remove() { |
| 66 | if (!fileName().empty()) { |
nothing calls this directly
no test coverage detected