Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RNTupleDescriptor::RFieldDescriptorIterable Class Reference

Used to loop over a field's child fields.

Definition at line 756 of file RNTupleDescriptor.hxx.

Classes

class  RIterator
 

Public Member Functions

 RFieldDescriptorIterable (const RNTupleDescriptor &ntuple, const RFieldDescriptor &field)
 
 RFieldDescriptorIterable (const RNTupleDescriptor &ntuple, const RFieldDescriptor &field, const std::function< bool(DescriptorId_t, DescriptorId_t)> &comparator)
 Sort the range using an arbitrary comparison function.
 
RIterator begin ()
 
RIterator end ()
 

Private Attributes

std::vector< DescriptorId_tfFieldChildren = {}
 The descriptor ids of the child fields.
 
const RNTupleDescriptorfNTuple
 The associated NTuple for this range.
 

#include <ROOT/RNTupleDescriptor.hxx>

Constructor & Destructor Documentation

◆ RFieldDescriptorIterable() [1/2]

ROOT::Experimental::RNTupleDescriptor::RFieldDescriptorIterable::RFieldDescriptorIterable ( const RNTupleDescriptor ntuple,
const RFieldDescriptor field 
)
inline

Definition at line 794 of file RNTupleDescriptor.hxx.

◆ RFieldDescriptorIterable() [2/2]

ROOT::Experimental::RNTupleDescriptor::RFieldDescriptorIterable::RFieldDescriptorIterable ( const RNTupleDescriptor ntuple,
const RFieldDescriptor field,
const std::function< bool(DescriptorId_t, DescriptorId_t)> &  comparator 
)
inline

Sort the range using an arbitrary comparison function.

Definition at line 799 of file RNTupleDescriptor.hxx.

Member Function Documentation

◆ begin()

RIterator ROOT::Experimental::RNTupleDescriptor::RFieldDescriptorIterable::begin ( )
inline

Definition at line 805 of file RNTupleDescriptor.hxx.

◆ end()

RIterator ROOT::Experimental::RNTupleDescriptor::RFieldDescriptorIterable::end ( )
inline

Definition at line 806 of file RNTupleDescriptor.hxx.

Member Data Documentation

◆ fFieldChildren

std::vector<DescriptorId_t> ROOT::Experimental::RNTupleDescriptor::RFieldDescriptorIterable::fFieldChildren = {}
private

The descriptor ids of the child fields.

These may be sorted using a comparison function.

Definition at line 762 of file RNTupleDescriptor.hxx.

◆ fNTuple

const RNTupleDescriptor& ROOT::Experimental::RNTupleDescriptor::RFieldDescriptorIterable::fNTuple
private

The associated NTuple for this range.

Definition at line 759 of file RNTupleDescriptor.hxx.

Libraries for ROOT::Experimental::RNTupleDescriptor::RFieldDescriptorIterable:

The documentation for this class was generated from the following file: