Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
RJittedCustomColumn.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 <TError.h> // R__ASSERT
13 
14 using namespace ROOT::Detail::RDF;
15 
16 void RJittedCustomColumn::InitSlot(TTreeReader *r, unsigned int slot)
17 {
18  R__ASSERT(fConcreteCustomColumn != nullptr);
19  fConcreteCustomColumn->InitSlot(r, slot);
20 }
21 
22 void *RJittedCustomColumn::GetValuePtr(unsigned int slot)
23 {
24  R__ASSERT(fConcreteCustomColumn != nullptr);
25  return fConcreteCustomColumn->GetValuePtr(slot);
26 }
27 
28 const std::type_info &RJittedCustomColumn::GetTypeId() const
29 {
30  R__ASSERT(fConcreteCustomColumn != nullptr);
31  return fConcreteCustomColumn->GetTypeId();
32 }
33 
34 void RJittedCustomColumn::Update(unsigned int slot, Long64_t entry)
35 {
36  R__ASSERT(fConcreteCustomColumn != nullptr);
37  fConcreteCustomColumn->Update(slot, entry);
38 }
39 
40 void RJittedCustomColumn::ClearValueReaders(unsigned int slot)
41 {
42  R__ASSERT(fConcreteCustomColumn != nullptr);
43  fConcreteCustomColumn->ClearValueReaders(slot);
44 }
45 
46 void RJittedCustomColumn::InitNode()
47 {
48  R__ASSERT(fConcreteCustomColumn != nullptr);
49  fConcreteCustomColumn->InitNode();
50 }