17#ifndef ROOT_TBranchProxyTemplate
18#define ROOT_TBranchProxyTemplate
20#if R__BRANCHPROXY_GENERATOR_VERSION != 2
22# error "Please regenerate this file using TTree::MakeProxy()!"
27#define InjecTBranchProxyInterface() \
28 ROOT::Detail::TBranchProxy *GetProxy() { return obj.GetProxy(); } \
29 void Reset() { obj.Reset(); } \
30 bool Setup() { return obj.Setup(); } \
31 bool IsInitialized() { return obj.IsInitialized(); } \
32 bool IsaPointer() const { return obj.IsaPointer(); } \
33 bool Read() { return obj.Read(); }
50 obj(director,parent,
name, top, mid) {};
57 std::cout <<
"fWhere " <<
obj.
GetWhere() << std::endl;
83 std::cout <<
"obj.GetWhere() " <<
obj.
GetWhere() << std::endl;
94 obj(director,parent,
name, top, mid) {};
102 static T default_val;
103 if (!
obj.
Read())
return &default_val;
107 if (temp)
return temp;
108 else return &default_val;
125 std::cout <<
"obj.GetWhere() " <<
obj.
GetWhere() << std::endl;
134 obj(director,top,
name,data) {};
136 obj(director,parent,
name, top, mid) {};
146 static const value_t default_val;
147 if (!
obj.
Read())
return default_val;
151 if (temp)
return *temp;
152 else return default_val;
181 TClass *cl = TClass::GetClass<T>();
209 else return default_val;
Base class for all the proxy object.
void * GetClaStart(UInt_t i=0)
void * GetStlStart(UInt_t i=0)
virtual void * GetStart(UInt_t=0)
virtual void Print()
Display the content of the object.
InjecTBranchProxyInterface()
TClaObjProxy(TBranchProxyDirector *director, const char *top, const char *name)
TClaObjProxy(TBranchProxyDirector *director, const char *name)
const TClonesArray * GetPtr()
TClaObjProxy(TBranchProxyDirector *director, const char *top, const char *name, const char *data)
TClaObjProxy(TBranchProxyDirector *director, Detail::TBranchProxy *parent, const char *name, const char *top=0, const char *mid=0)
const T * operator[](Int_t i)
Base class for the proxy around object in TClonesArray.
Int_t GetEntries() override
const TClonesArray * GetPtr()
void Print() override
Display the content of the object.
InjecTBranchProxyInterface()
TObjProxy(TBranchProxyDirector *director, const char *top, const char *name)
TObjProxy(TBranchProxyDirector *director, const char *top, const char *name, const char *data)
TObjProxy(TBranchProxyDirector *director, Detail::TBranchProxy *parent, const char *name, const char *top=0, const char *mid=0)
TObjProxy(TBranchProxyDirector *director, const char *name)
TStlObjProxy(TBranchProxyDirector *director, Detail::TBranchProxy *parent, const char *name, const char *top=0, const char *mid=0)
TVirtualCollectionProxy * GetCollection()
TStlObjProxy(TBranchProxyDirector *director, const char *top, const char *name, const char *data)
InjecTBranchProxyInterface()
TStlObjProxy(TBranchProxyDirector *director, const char *name)
const value_t & At(UInt_t i)
TStlObjProxy(TBranchProxyDirector *director, const char *top, const char *name)
const value_t & operator[](Int_t i)
Base class for the proxy around STL containers.
Int_t GetEntries() override
void Print() override
Display the content of the object.
TVirtualCollectionProxy * GetPtr()
TVirtualCollectionProxy * fCollection
const value_t At(UInt_t i)
TStlSimpleProxy(TBranchProxyDirector *director, Detail::TBranchProxy *parent, const char *name, const char *top=0, const char *mid=0)
TVirtualCollectionProxy * GetCollection()
TStlSimpleProxy(TBranchProxyDirector *director, const char *top, const char *name)
TStlSimpleProxy(TBranchProxyDirector *director, const char *top, const char *name, const char *data)
TStlSimpleProxy(TBranchProxyDirector *director, const char *name)
const value_t operator[](Int_t i)
TClass instances represent classes, structs and namespaces in the ROOT type system.
TVirtualCollectionProxy * GetCollectionProxy() const
Return the proxy describing the collection (if any).
An array of clone (identical) objects.
virtual void * At(UInt_t idx)=0
virtual UInt_t Size() const =0
virtual TVirtualCollectionProxy * Generate() const =0
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...