| 56 | } |
| 57 | |
| 58 | std::vector<openstudio::path> PythonPluginSearchPaths_Impl::searchPaths() const { |
| 59 | std::vector<openstudio::path> result; |
| 60 | for (const auto& eg : extensibleGroups()) { |
| 61 | auto _s = eg.getString(OS_PythonPlugin_SearchPathsExtensibleFields::SearchPath); |
| 62 | OS_ASSERT(_s); |
| 63 | result.push_back(openstudio::toPath(_s.get())); |
| 64 | } |
| 65 | return result; |
| 66 | } |
| 67 | |
| 68 | bool PythonPluginSearchPaths_Impl::setAddCurrentWorkingDirectorytoSearchPath(bool addCurrentWorkingDirectorytoSearchPath) { |
| 69 | const bool result = |