| 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); |