| 410 | } |
| 411 | |
| 412 | std::vector<openstudio::path> WorkflowJSON_Impl::filePaths() const { |
| 413 | std::vector<openstudio::path> result; |
| 414 | |
| 415 | Json::Value defaultValue(Json::arrayValue); |
| 416 | |
| 417 | Json::Value paths = m_value.get("file_paths", defaultValue); |
| 418 | paths.append("./files"); |
| 419 | paths.append("./weather"); |
| 420 | paths.append("../../files"); |
| 421 | paths.append("../../weather"); |
| 422 | paths.append("./"); |
| 423 | |
| 424 | Json::ArrayIndex n = paths.size(); |
| 425 | for (Json::ArrayIndex i = 0; i < n; ++i) { |
| 426 | result.push_back(toPath(paths[i].asString())); |
| 427 | } |
| 428 | |
| 429 | return result; |
| 430 | } |
| 431 | |
| 432 | std::vector<openstudio::path> WorkflowJSON_Impl::absoluteFilePaths() const { |
| 433 | std::vector<openstudio::path> result; |
no test coverage detected