MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ for_each_child()

template<FieldArray Array>
template<typename Fn>
bool MayaFlux::Kakshya::DataForestTraversal< Array >::for_each_child ( size_t row,
Fn && fn ) const
inline

Visit the direct children of row, in row order.

Definition at line 122 of file DataForestTraversal.hpp.

123 {
124 for (const uint64_t child : m_index->children(row)) {
125 if (!visit(child, fn))
126 return false;
127 }
128 return true;
129 }
On-demand walks over the parent links of an indexed array.

References m_index, and visit().

Here is the call graph for this function: