Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RFieldHolder.hxx
Go to the documentation of this file.
1/*************************************************************************
2 * Copyright (C) 1995-2021, Rene Brun and Fons Rademakers. *
3 * All rights reserved. *
4 * *
5 * For the licensing terms see $ROOTSYS/LICENSE. *
6 * For the list of contributors see $ROOTSYS/README/CREDITS. *
7 *************************************************************************/
8
9#ifndef ROOT_Browsable_RFieldHolder
10#define ROOT_Browsable_RFieldHolder
11
13
15#include <ROOT/RMiniFile.hxx>
16
17#include "TClass.h"
18
19namespace ROOT {
20namespace Experimental {
21namespace Detail {
22class RPageSource;
23}
24}
25}
26
28 std::shared_ptr<ROOT::Experimental::RNTupleReader> fNtplReader;
29 std::string fParentName;
30
32
33public:
34 RFieldHolder(std::shared_ptr<ROOT::Experimental::RNTupleReader> ntplReader, const std::string &parent_name,
36 : fNtplReader(ntplReader), fParentName(parent_name), fFieldId(id)
37 {
38 }
39
40 const TClass *GetClass() const override { return TClass::GetClass<ROOT::RNTuple>(); }
41
42 /** Returns direct (temporary) object pointer */
43 const void *GetObject() const override { return nullptr; }
44
45 auto GetNtplReader() const { return fNtplReader; }
46 auto GetParentName() const { return fParentName; }
47 auto GetId() const { return fFieldId; }
48};
49
50#endif
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize id
ROOT::Experimental::DescriptorId_t fFieldId
auto GetParentName() const
RFieldHolder(std::shared_ptr< ROOT::Experimental::RNTupleReader > ntplReader, const std::string &parent_name, ROOT::Experimental::DescriptorId_t id)
std::shared_ptr< ROOT::Experimental::RNTupleReader > fNtplReader
const void * GetObject() const override
Returns direct (temporary) object pointer.
auto GetId() const
std::string fParentName
const TClass * GetClass() const override
Returns class of contained object.
auto GetNtplReader() const
Basic class for object holder of any kind.
Definition RHolder.hxx:35
TClass instances represent classes, structs and namespaces in the ROOT type system.
Definition TClass.h:81
std::uint64_t DescriptorId_t
Distriniguishes elements of the same type within a descriptor, e.g. different fields.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...