Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
ROOT::Internal::RDF::RVariationReader Class Referencefinal

Column reader that reads the value for a specific column, variation and slot.

Definition at line 26 of file RVariationReader.hxx.

Public Member Functions

 RVariationReader (unsigned int slot, const std::string &colName, const std::string &variationName, RVariationBase &variation)
template<typename T>
T * TryGet (Long64_t entry)
 Return the column value for the given entry.

Private Member Functions

void * GetImpl (Long64_t entry) final

Private Attributes

unsigned int fSlot = std::numeric_limits<unsigned int>::max()
 The slot this value belongs to.
void * fValuePtr = nullptr
 Non-owning ptr to the value of the variation.
RVariationBasefVariation

#include <ROOT/RDF/RVariationReader.hxx>

Inheritance diagram for ROOT::Internal::RDF::RVariationReader:
ROOT::Detail::RDF::RColumnReaderBase

Constructor & Destructor Documentation

◆ RVariationReader()

ROOT::Internal::RDF::RVariationReader::RVariationReader ( unsigned int slot,
const std::string & colName,
const std::string & variationName,
RVariationBase & variation )
inline

Definition at line 42 of file RVariationReader.hxx.

Member Function Documentation

◆ GetImpl()

void * ROOT::Internal::RDF::RVariationReader::GetImpl ( Long64_t entry)
inlinefinalprivatevirtual

Implements ROOT::Detail::RDF::RColumnReaderBase.

Definition at line 35 of file RVariationReader.hxx.

◆ TryGet()

template<typename T>
T * ROOT::Detail::RDF::RColumnReaderBase::TryGet ( Long64_t entry)
inlineinherited

Return the column value for the given entry.

Template Parameters
TThe column type
Parameters
entryThe entry number

The caller is responsible for checking that the returned value actually exists.

Definition at line 39 of file RColumnReaderBase.hxx.

Member Data Documentation

◆ fSlot

unsigned int ROOT::Internal::RDF::RVariationReader::fSlot = std::numeric_limits<unsigned int>::max()
private

The slot this value belongs to.

Definition at line 33 of file RVariationReader.hxx.

◆ fValuePtr

void* ROOT::Internal::RDF::RVariationReader::fValuePtr = nullptr
private

Non-owning ptr to the value of the variation.

Definition at line 30 of file RVariationReader.hxx.

◆ fVariation

RVariationBase* ROOT::Internal::RDF::RVariationReader::fVariation
private

Definition at line 27 of file RVariationReader.hxx.


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