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

Method setPaths

src/IECore/SearchPath.cpp:80–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void SearchPath::setPaths( const std::string &inPaths, const std::string &separators )
81{
82 paths.clear();
83 boost::tokenizer<boost::char_separator<char> > t( inPaths, char_separator<char>( separators.c_str() ) );
84 copy( t.begin(), t.end(), back_insert_iterator<list<path> >( paths ) );
85}
86
87std::string SearchPath::getPaths( const std::string &separator ) const
88{

Callers 1

testMethod · 0.95

Calls 4

copyFunction · 0.70
clearMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected