MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / open

Method open

src/utilities/bcl/RemoteBCL.cpp:61–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61bool 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
67RemoteBCL::DownloadFile::DownloadFile(openstudio::path t_path) : m_fileName(std::move(t_path)) {}
68

Callers 3

downloadComponentMethod · 0.45
runMethod · 0.45
TEST_FFunction · 0.45

Calls 2

toStringFunction · 0.50
emptyMethod · 0.45

Tested by 1

TEST_FFunction · 0.36