Logo ROOT   6.16/01
Reference Guide
RCustomColumnBase.cxx
Go to the documentation of this file.
1// Author: Enrico Guiraud, Danilo Piparo CERN 09/2018
2
3/*************************************************************************
4 * Copyright (C) 1995-2018, Rene Brun and Fons Rademakers. *
5 * All rights reserved. *
6 * *
7 * For the licensing terms see $ROOTSYS/LICENSE. *
8 * For the list of contributors see $ROOTSYS/README/CREDITS. *
9 *************************************************************************/
10
13#include "ROOT/RStringView.hxx"
14#include "RtypesCore.h" // Long64_t
15
16#include <string>
17#include <vector>
18
22
24{
25 static unsigned int id = 0U;
26 ++id;
27 return id;
28}
29
31 const bool isDSColumn, const RDFInternal::RBookedCustomColumns &customColumns)
32 : fLoopManager(lm), fName(name), fNSlots(nSlots), fIsDataSourceColumn(isDSColumn), fCustomColumns(customColumns)
33{
35}
36
37// pin vtable. Work around cling JIT issue.
39{
41}
42
43std::string RCustomColumnBase::GetName() const
44{
45 return fName;
46}
47
49{
50 fLastCheckedEntry = std::vector<Long64_t>(fNSlots, -1);
51}
RLoopManager * fLoopManager
A raw pointer to the RLoopManager at the root of this functional graph.
std::vector< Long64_t > fLastCheckedEntry
RCustomColumnBase(RLoopManager *lm, std::string_view name, const unsigned int nSlots, const bool isDSColumn, const RDFInternal::RBookedCustomColumns &customColumns)
const unsigned int fNSlots
number of thread slots used by this node, inherited from parent node.
The head node of a RDF computation graph.
void DeRegisterCustomColumn(RCustomColumnBase *column)
void RegisterCustomColumn(RCustomColumnBase *column)
Encapsulates the columns defined by the user.
basic_string_view< char > string_view
Definition: RStringView.hxx:35