Logo ROOT  
Reference Guide
ROOT::Experimental::RNTupleDescriptor::RFieldDescriptorIterable Class Reference

Used to loop over a field's child fields.

Definition at line 473 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. More...
 
RIterator begin ()
 
RIterator end ()
 

Private Attributes

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

#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 507 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 510 of file RNTupleDescriptor.hxx.

Member Function Documentation

◆ begin()

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

Definition at line 516 of file RNTupleDescriptor.hxx.

◆ end()

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

Definition at line 519 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 479 of file RNTupleDescriptor.hxx.

◆ fNTuple

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

The associated NTuple for this range.

Definition at line 476 of file RNTupleDescriptor.hxx.

Libraries for ROOT::Experimental::RNTupleDescriptor::RFieldDescriptorIterable:
[legend]

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