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

Method iddFile

src/utilities/idd/IddFileAndFactoryWrapper.cpp:202–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202IddFile IddFileAndFactoryWrapper::iddFile() const {
203 if (m_iddFile) {
204 return *m_iddFile;
205 } else if (m_iddFileType) {
206 return IddFactory::instance().getIddFile(*m_iddFileType);
207 }
208
209 LOG_AND_THROW("Invalid IddFileAndFactoryWrapper has no IddFile set.");
210 return {};
211}
212
213IddFileType IddFileAndFactoryWrapper::iddFileType() const {
214 if (m_iddFileType) {

Callers 1

TEST_FFunction · 0.45

Calls 1

getIddFileMethod · 0.80

Tested by 1

TEST_FFunction · 0.36