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

Method searchPaths

src/model/PythonPluginSearchPaths.cpp:58–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 =

Callers 4

addSearchPathMethod · 0.95
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 4

toPathFunction · 0.50
getStringMethod · 0.45
push_backMethod · 0.45
getMethod · 0.45

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64