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

Method addPaths

src/IECore/PathMatcher.cpp:398–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396}
397
398bool PathMatcher::addPaths( const PathMatcher &paths )
399{
400 bool result = false;
401 NodePtr newRoot = addPathsWalk( m_root.get(), paths.m_root.get(), /* shared = */ false, result );
402 if( newRoot )
403 {
404 m_root = newRoot;
405 }
406 return result;
407}
408
409bool PathMatcher::addPaths( const PathMatcher &paths, const std::vector<IECore::InternedString> &prefix )
410{

Callers 12

testAddPathsMethod · 0.95
testRemovePathsMethod · 0.95
testCopyAndAddPathsMethod · 0.95
testPrefixNotAddedMethod · 0.95
testSizeMethod · 0.95
recursiveSetFunction · 0.80
recurseReadSetMethod · 0.80
recurseReadSetMethod · 0.80
readSetMethod · 0.80
readSetMethod · 0.80

Calls 4

getMethod · 0.45
isEmptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by 7

testAddPathsMethod · 0.76
testRemovePathsMethod · 0.76
testCopyAndAddPathsMethod · 0.76
testPrefixNotAddedMethod · 0.76
testSizeMethod · 0.76