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

Method subTree

src/IECore/PathMatcher.cpp:476–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474}
475
476PathMatcher PathMatcher::subTree( const std::string &root ) const
477{
478 if( root.empty() )
479 {
480 return PathMatcher();
481 }
482 std::vector<IECore::InternedString> tokenizedRoot;
483 StringAlgo::tokenize( root, '/', tokenizedRoot );
484 return subTree( tokenizedRoot );
485}
486
487PathMatcher PathMatcher::subTree( const std::vector<IECore::InternedString> &root ) const
488{

Callers 5

testSubTreeMethod · 0.95
writeSetInternalFunction · 0.80

Calls 2

PathMatcherFunction · 0.85
findFunction · 0.85

Tested by 4

testSubTreeMethod · 0.76