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

Method hasChild

src/IECoreScene/SceneCache.cpp:260–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258 }
259
260 bool hasChild( const Name &name ) const
261 {
262 ConstIndexedIOPtr children = m_indexedIO->subdirectory( childrenEntry, IndexedIO::NullIfMissing );
263 if ( !children )
264 {
265 return false;
266 }
267 return children->hasEntry( name );
268 }
269
270 /// Returns the set names defined at locations which are descended from this
271 /// location, excluding the current location.

Callers

nothing calls this directly

Calls 2

subdirectoryMethod · 0.80
hasEntryMethod · 0.80

Tested by

no test coverage detected