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

Used to loop over a field's child fields.

Definition at line 368 of file RNTupleDescriptor.hxx.

Classes

class  RIterator
 

Public Member Functions

 RFieldDescriptorRange (const RNTupleDescriptor &ntuple, const RFieldDescriptor &field)
 
 RFieldDescriptorRange (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

◆ RFieldDescriptorRange() [1/2]

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

Definition at line 402 of file RNTupleDescriptor.hxx.

◆ RFieldDescriptorRange() [2/2]

ROOT::Experimental::RNTupleDescriptor::RFieldDescriptorRange::RFieldDescriptorRange ( 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 405 of file RNTupleDescriptor.hxx.

Member Function Documentation

◆ begin()

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

Definition at line 411 of file RNTupleDescriptor.hxx.

◆ end()

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

Definition at line 414 of file RNTupleDescriptor.hxx.

Member Data Documentation

◆ fFieldChildren

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

The descriptor ids of the child fields.

These may be sorted using a comparison function.

Definition at line 374 of file RNTupleDescriptor.hxx.

◆ fNTuple

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

The associated NTuple for this range.

Definition at line 371 of file RNTupleDescriptor.hxx.

Libraries for ROOT::Experimental::RNTupleDescriptor::RFieldDescriptorRange:

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