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

Method childNames

src/IECoreScene/SceneCache.cpp:248–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246 }
247
248 void childNames( NameList &childNames ) const
249 {
250 ConstIndexedIOPtr children = m_indexedIO->subdirectory( childrenEntry, IndexedIO::NullIfMissing );
251 if ( !children )
252 {
253 // it's ok for an entry to not have children
254 childNames.clear();
255 return;
256 }
257 children->entryIds( childNames, IndexedIO::Directory );
258 }
259
260 bool hasChild( const Name &name ) const
261 {

Callers

nothing calls this directly

Calls 3

subdirectoryMethod · 0.80
clearMethod · 0.45
entryIdsMethod · 0.45

Tested by

no test coverage detected