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

Iterable class used to loop over attribute entries.

This class allows to perform range-for iteration on some set of attributes, typically returned by the RNTupleAttrSetReader::GetAttributes family of methods.

See the documentation of RNTupleAttrSetReader for example usage.

Definition at line 174 of file RNTupleAttrReading.hxx.

Classes

struct  RFilter
 
class  RIterator
 

Public Member Functions

 RNTupleAttrEntryIterable (RNTupleAttrSetReader &reader, std::optional< RFilter > filter={})
 
RIterator begin ()
 
RIterator end ()
 

Private Attributes

std::optional< RFilter > fFilter
 
RNTupleAttrSetReader * fReader = nullptr
 

#include <ROOT/RNTupleAttrReading.hxx>

Constructor & Destructor Documentation

◆ RNTupleAttrEntryIterable()

ROOT::RNTupleAttrEntryIterable::RNTupleAttrEntryIterable ( RNTupleAttrSetReader & reader,
std::optional< RFilter > filter = {} )
inlineexplicit

Definition at line 229 of file RNTupleAttrReading.hxx.

Member Function Documentation

◆ begin()

RIterator ROOT::RNTupleAttrEntryIterable::begin ( )
inline

Definition at line 234 of file RNTupleAttrReading.hxx.

◆ end()

RIterator ROOT::RNTupleAttrEntryIterable::end ( )
inline

Definition at line 235 of file RNTupleAttrReading.hxx.

Member Data Documentation

◆ fFilter

std::optional<RFilter> ROOT::RNTupleAttrEntryIterable::fFilter
private

Definition at line 183 of file RNTupleAttrReading.hxx.

◆ fReader

RNTupleAttrSetReader* ROOT::RNTupleAttrEntryIterable::fReader = nullptr
private

Definition at line 182 of file RNTupleAttrReading.hxx.

Libraries for ROOT::RNTupleAttrEntryIterable:

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