Logo ROOT   6.18/05
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 fIsInitialized(nSlots, false)
34{
36}
37
38// pin vtable. Work around cling JIT issue.
40{
42}
43
44std::string RCustomColumnBase::GetName() const
45{
46 return fName;
47}
48
50{
51 fLastCheckedEntry = std::vector<Long64_t>(fNSlots, -1);
52}
XFontStruct * id
Definition: TGX11.cxx:108
char name[80]
Definition: TGX11.cxx:109
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