MCPcopy Create free account
hub / github.com/ImageEngine/cortex / setPaths

Function setPaths

src/IECorePython/SearchPathBinding.cpp:75–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void setPaths( SearchPath &s, const object &p )
76{
77 s.paths.clear();
78 std::vector<std::string> ss;
79 boost::python::container_utils::extend_container( ss, p );
80 s.paths.resize( ss.size() );
81 std::copy( ss.begin(), ss.end(), s.paths.begin() );
82}
83
84} // namespace
85

Callers 1

SearchPathMethod · 0.85

Calls 6

copyFunction · 0.50
clearMethod · 0.45
resizeMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected