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

Method readSet

src/IECoreScene/SceneCache.cpp:2474–2487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2472}
2473
2474IECore::PathMatcher SceneCache::readSet( const Name &name, bool includeDescendantSets, const Canceller *canceller ) const
2475{
2476 ReaderImplementation *reader = ReaderImplementation::reader( m_implementation.get() );
2477
2478 PathMatcher set;
2479
2480 // read the old style tags and convert to a set
2481 Private::loadSetWalk( this, name, set, SceneInterface::Path(), canceller );
2482
2483 // load the new sets
2484 set.addPaths( reader->readSet( name, includeDescendantSets, canceller ) );
2485
2486 return set;
2487}
2488
2489void SceneCache::writeSet( const Name &name, const IECore::PathMatcher &set )
2490{

Callers 4

testSetsMethod · 0.45
handleLocationFunction · 0.45

Calls 3

loadSetWalkFunction · 0.85
addPathsMethod · 0.80
getMethod · 0.45

Tested by 3

testSetsMethod · 0.36