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

Method childNames

src/IECore/StreamIndexedIO.cpp:1492–1504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1490}
1491
1492void StreamIndexedIO::Node::childNames( IndexedIO::EntryIDList &names ) const
1493{
1494 names.clear();
1495 names.reserve( m_node->children().size() );
1496
1497 Index::MutexLock lock;
1498 m_idx->lockDirectory( lock, m_node );
1499
1500 for ( DirectoryNode::ChildMap::const_iterator cit = m_node->children().begin(); cit != m_node->children().end(); cit++ )
1501 {
1502 names.push_back( (*cit)->name() );
1503 }
1504}
1505
1506void StreamIndexedIO::Node::childNames( IndexedIO::EntryIDList &names, IndexedIO::EntryType type ) const
1507{

Callers 2

entryIdsMethod · 0.45
removeAllMethod · 0.45

Calls 7

lockDirectoryMethod · 0.80
nodeTypeMethod · 0.80
clearMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected