Logo ROOT  
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
12#include "ROOT/RStringView.hxx"
13#include "RtypesCore.h" // Long64_t
14
15#include <string>
16#include <vector>
17
20
22{
23 static unsigned int id = 0U;
24 ++id;
25 return id;
26}
27
29 const RDFInternal::RBookedCustomColumns &customColumns)
30 : fName(name), fType(type), fNSlots(nSlots), fIsDataSourceColumn(isDSColumn), fLastCheckedEntry(fNSlots, -1),
31 fCustomColumns(customColumns), fIsInitialized(nSlots, false)
32{
33}
34
35// pin vtable. Work around cling JIT issue.
37
38std::string RCustomColumnBase::GetName() const
39{
40 return fName;
41}
42
44{
45 return fType;
46}
XFontStruct * id
Definition: TGX11.cxx:108
char name[80]
Definition: TGX11.cxx:109
int type
Definition: TGX11.cxx:120
const std::string fType
The type of the custom column as a text string.
const std::string fName
The name of the custom column.
RCustomColumnBase(std::string_view name, std::string_view type, unsigned int nSlots, bool isDSColumn, const RDFInternal::RBookedCustomColumns &customColumns)
Encapsulates the columns defined by the user.
basic_string_view< char > string_view