Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
ROOT::Experimental::RNTupleDescriptor::RFieldDescriptorIterable Class Reference

Used to loop over a field's child fields.

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

◆ RFieldDescriptorIterable() [2/2]

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

Member Function Documentation

◆ begin()

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

Definition at line 924 of file RNTupleDescriptor.hxx.

◆ end()

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

Definition at line 925 of file RNTupleDescriptor.hxx.

Member Data Documentation

◆ fFieldChildren

std::vector<ROOT::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 880 of file RNTupleDescriptor.hxx.

◆ fNTuple

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

The associated NTuple for this range.

Definition at line 877 of file RNTupleDescriptor.hxx.

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

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