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

Used to loop over a field's child fields.

Definition at line 1005 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(ROOT::DescriptorId_t, ROOT::DescriptorId_t)> &comparator)
 Sort the range using an arbitrary comparison function.
RIterator begin ()
RIterator end ()

Private Attributes

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

#include <ROOT/RNTupleDescriptor.hxx>

Constructor & Destructor Documentation

◆ RFieldDescriptorIterable() [1/2]

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

Definition at line 1051 of file RNTupleDescriptor.hxx.

◆ RFieldDescriptorIterable() [2/2]

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

Sort the range using an arbitrary comparison function.

Definition at line 1056 of file RNTupleDescriptor.hxx.

Member Function Documentation

◆ begin()

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

Definition at line 1062 of file RNTupleDescriptor.hxx.

◆ end()

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

Definition at line 1063 of file RNTupleDescriptor.hxx.

Member Data Documentation

◆ fFieldChildren

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

The descriptor IDs of the child fields.

These may be sorted using a comparison function.

Definition at line 1011 of file RNTupleDescriptor.hxx.

◆ fNTuple

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

The associated RNTuple for this range.

Definition at line 1008 of file RNTupleDescriptor.hxx.


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