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

Method lastEpwFile

src/measure/OSRunner.cpp:114–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 }
113
114 boost::optional<openstudio::EpwFile> OSRunner::lastEpwFile() const {
115 if (m_lastEpwFile) {
116 return m_lastEpwFile;
117 }
118
119 if (m_lastEpwFilePath) {
120 try {
121 m_lastEpwFile = EpwFile(*m_lastEpwFilePath);
122 } catch (const std::exception&) {
123 }
124 }
125
126 return m_lastEpwFile;
127 }
128
129 boost::optional<openstudio::path> OSRunner::lastEpwFilePath() const {
130 return m_lastEpwFilePath;

Callers

nothing calls this directly

Calls 1

EpwFileClass · 0.50

Tested by

no test coverage detected