| 97 | } |
| 98 | |
| 99 | WorkflowJSON WorkflowJSON_Impl::clone() const { |
| 100 | WorkflowJSON result(this->string(true)); |
| 101 | |
| 102 | boost::optional<openstudio::path> oswPath = this->oswPath(); |
| 103 | if (oswPath) { |
| 104 | result.setOswPath(*oswPath); |
| 105 | } else { |
| 106 | result.setOswDir(this->oswDir()); |
| 107 | } |
| 108 | |
| 109 | return result; |
| 110 | } |
| 111 | |
| 112 | Json::Value WorkflowJSON_Impl::toJSON(bool includeHash) const { |
| 113 |
no test coverage detected