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

Column reader for defined columns.

Definition at line 35 of file RDefineReader.hxx.

Public Member Functions

 RDefineReader (unsigned int slot, RDFDetail::RDefineBase &define)
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

RDFDetail::RDefineBase & fDefine
 Non-owning reference to the node responsible for the defined column.
unsigned int fSlot = std::numeric_limits<unsigned int>::max()
 The slot this value belongs to.
void * fValuePtr = nullptr
 Non-owning ptr to the defined value.

#include <ROOT/RDF/RDefineReader.hxx>

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

Constructor & Destructor Documentation

◆ RDefineReader()

ROOT::Internal::RDF::RDefineReader::RDefineReader ( unsigned int slot,
RDFDetail::RDefineBase & define )
inline

Definition at line 52 of file RDefineReader.hxx.

Member Function Documentation

◆ GetImpl()

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

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

Definition at line 45 of file RDefineReader.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

◆ fDefine

RDFDetail::RDefineBase& ROOT::Internal::RDF::RDefineReader::fDefine
private

Non-owning reference to the node responsible for the defined column.

Definition at line 37 of file RDefineReader.hxx.

◆ fSlot

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

The slot this value belongs to.

Definition at line 43 of file RDefineReader.hxx.

◆ fValuePtr

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

Non-owning ptr to the defined value.

Definition at line 40 of file RDefineReader.hxx.


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