MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / childAt

Method childAt

Engine/FileSystemModel.cpp:294–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292}
293
294FileSystemItemPtr
295FileSystemItem::childAt(int position) const
296{
297 QMutexLocker l(&_imp->childrenMutex);
298
299 if ( (position >= 0) && ( position < (int)_imp->children.size() ) ) {
300 return _imp->children[position];
301 } else {
302 return FileSystemItemPtr();
303 }
304}
305
306int
307FileSystemItem::childCount() const

Callers 3

indexMethod · 0.80
resetCompletlyMethod · 0.80
mkPathInternalMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected