12#ifndef ROOT_TFormLeafInfo
13#define ROOT_TFormLeafInfo
26#define DECLARE_GETVAL \
27 virtual Double_t GetValue(TLeaf *leaf, Int_t instance = 0) \
28 { return GetValueImpl<Double_t>(leaf, instance); } \
29 virtual Long64_t GetValueLong64(TLeaf *leaf, Int_t instance = 0) \
30 { return GetValueImpl<Long64_t>(leaf, instance); } \
31 virtual LongDouble_t GetValueLongDouble(TLeaf *leaf, Int_t instance = 0) \
32 { return GetValueImpl<LongDouble_t>(leaf, instance); } \
33 template<typename T> T GetValueImpl(TLeaf *leaf, Int_t instance = 0)
37#define DECLARE_READVAL \
38 virtual Double_t ReadValue(char *where, Int_t instance = 0) \
39 { return ReadValueImpl<Double_t>(where, instance); } \
40 virtual Long64_t ReadValueLong64(char *where, Int_t instance = 0) \
41 { return ReadValueImpl<Long64_t>(where, instance); } \
42 virtual LongDouble_t ReadValueLongDouble(char *where, Int_t instance = 0) \
43 { return ReadValueImpl<LongDouble_t>(where, instance); } \
44 template<typename T> T ReadValueImpl(char *where, Int_t instance = 0)
123 return leaf->ReadValue(where, instance);
132 return linfo->GetValue(leaf, instance);
279 TClass* elementclassptr = 0,
404 TStreamerElement* element) :
TFormLeafInfo(classptr,offset,element),
fNsize(0),
fSizes(),
fCounter2(0),
fSumOfSizes(0),
fDim(0),
fVirtDim(0),
fPrimaryIndex(-1),
fSecondaryIndex(-1) {}
542 using TFormLeafInfo::GetValue;
unsigned long long ULong64_t
Array of integers (32 bits per element).
A Branch for the case of an object.
A TTree is a list of TBranches.
The ROOT global object gROOT contains a list of all defined classes.
A TLeaf for the general case when using the branches created via a TStreamerInfo (i....
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
Method or function calling interface.
Mother of all ROOT objects.
A TTree object has a header with a name and a title.