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

Method oswPath

src/utilities/filetypes/WorkflowJSON.cpp:311–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309 }
310
311 boost::optional<openstudio::path> WorkflowJSON_Impl::oswPath() const {
312 if (m_oswFilename.empty() || m_oswDir.empty()) {
313 return boost::none;
314 }
315 return m_oswDir / m_oswFilename;
316 }
317
318 bool WorkflowJSON_Impl::setOswPath(const openstudio::path& path, bool emitChange) {
319 openstudio::path p = canonicalOrAbsolute(path);

Callers 4

cloneMethod · 0.95
saveModelFunction · 0.80
TEST_FFunction · 0.80
TESTFunction · 0.80

Calls 1

emptyMethod · 0.45

Tested by 2

TEST_FFunction · 0.64
TESTFunction · 0.64