| 59 | } |
| 60 | |
| 61 | bool RemoteBCL::DownloadFile::open() { |
| 62 | OS_ASSERT(!m_fileName.empty()); |
| 63 | m_ofs.open(toString(m_fileName).c_str(), std::ios_base::trunc | std::ios_base::out | std::ios_base::binary); |
| 64 | return m_ofs.good(); |
| 65 | } |
| 66 | |
| 67 | RemoteBCL::DownloadFile::DownloadFile(openstudio::path t_path) : m_fileName(std::move(t_path)) {} |
| 68 |