ROOT
v6-20
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
11
#include "
ROOT/RDF/RCustomColumnBase.hxx
"
12
#include "
ROOT/RDF/RLoopManager.hxx
"
13
#include "
ROOT/RStringView.hxx
"
14
#include "
RtypesCore.h
"
// Long64_t
15
16
#include <string>
17
#include <vector>
18
19
using
ROOT::Detail::RDF::RCustomColumnBase
;
20
using
ROOT::Detail::RDF::RLoopManager
;
21
namespace
RDFInternal
=
ROOT::Internal::RDF
;
22
23
unsigned
int
RCustomColumnBase::GetNextID
()
24
{
25
static
unsigned
int
id
= 0U;
26
++
id
;
27
return
id
;
28
}
29
30
RCustomColumnBase::RCustomColumnBase
(
RLoopManager
*lm,
std::string_view
name
,
const
unsigned
int
nSlots,
31
const
bool
isDSColumn,
const
RDFInternal::RBookedCustomColumns
&customColumns)
32
: fLoopManager(lm), fName(
name
), fNSlots(nSlots), fIsDataSourceColumn(isDSColumn), fLastCheckedEntry(fNSlots, -1),
33
fCustomColumns(customColumns), fIsInitialized(nSlots, false)
34
{
35
}
36
37
// pin vtable. Work around cling JIT issue.
38
RCustomColumnBase::~RCustomColumnBase
() {}
39
40
std::string
RCustomColumnBase::GetName
()
const
41
{
42
return
fName
;
43
}
44
45
void
RCustomColumnBase::InitNode
()
46
{
47
}
RCustomColumnBase.hxx
RLoopManager.hxx
RStringView.hxx
RtypesCore.h
id
XFontStruct * id
Definition:
TGX11.cxx:108
name
char name[80]
Definition:
TGX11.cxx:109
ROOT::Detail::RDF::RCustomColumnBase
Definition:
RCustomColumnBase.hxx:31
ROOT::Detail::RDF::RCustomColumnBase::GetNextID
static unsigned int GetNextID()
Definition:
RCustomColumnBase.cxx:23
ROOT::Detail::RDF::RCustomColumnBase::fName
const std::string fName
Definition:
RCustomColumnBase.hxx:35
ROOT::Detail::RDF::RCustomColumnBase::~RCustomColumnBase
virtual ~RCustomColumnBase()
Definition:
RCustomColumnBase.cxx:38
ROOT::Detail::RDF::RCustomColumnBase::GetName
std::string GetName() const
Definition:
RCustomColumnBase.cxx:40
ROOT::Detail::RDF::RCustomColumnBase::InitNode
virtual void InitNode()
Definition:
RCustomColumnBase.cxx:45
ROOT::Detail::RDF::RCustomColumnBase::RCustomColumnBase
RCustomColumnBase(RLoopManager *lm, std::string_view name, const unsigned int nSlots, const bool isDSColumn, const RDFInternal::RBookedCustomColumns &customColumns)
Definition:
RCustomColumnBase.cxx:30
ROOT::Detail::RDF::RLoopManager
The head node of a RDF computation graph.
Definition:
RLoopManager.hxx:56
ROOT::Internal::RDF::RBookedCustomColumns
Encapsulates the columns defined by the user.
Definition:
RBookedCustomColumns.hxx:39
string_view
basic_string_view< char > string_view
Definition:
libcpp_string_view.h:786
ROOT::Internal::RDF
Definition:
RArrowDS.hxx:15
tree
dataframe
src
RCustomColumnBase.cxx
ROOT v6-20 - Reference Guide Generated on Fri Apr 1 2022 00:23:25 (GVA Time) using Doxygen 1.9.4