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

Method getPaths

src/IECore/SearchPath.cpp:87–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87std::string SearchPath::getPaths( const std::string &separator ) const
88{
89 bool first = true;
90 string result;
91 for( list<path>::const_iterator it=paths.begin(); it!=paths.end(); it++ )
92 {
93 if( first )
94 {
95 first = false;
96 }
97 else
98 {
99 result += separator;
100 }
101 result += it->string();
102 }
103 return result;
104}
105
106boost::filesystem::path SearchPath::find( const boost::filesystem::path &file ) const
107{

Callers 1

testMethod · 0.95

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected