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

◆ for_each_root()

template<FieldArray Array>
template<typename Fn>
bool MayaFlux::Kakshya::DataForestTraversal< Array >::for_each_root ( Fn && fn) const
inline

Visit the rows without a parent, in row order.

Definition at line 111 of file DataForestTraversal.hpp.

112 {
113 for (const uint64_t root : m_index->roots()) {
114 if (!visit(root, fn))
115 return false;
116 }
117 return true;
118 }
On-demand walks over the parent links of an indexed array.

References m_index, and visit().

Here is the call graph for this function: