| 1490 | } |
| 1491 | |
| 1492 | void 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 | |
| 1506 | void StreamIndexedIO::Node::childNames( IndexedIO::EntryIDList &names, IndexedIO::EntryType type ) const |
| 1507 | { |