Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TFormLeafInfo.cxx File Reference
#include "TFormLeafInfo.h"
#include "TROOT.h"
#include "TArrayI.h"
#include "TClonesArray.h"
#include "TError.h"
#include "TInterpreter.h"
#include "TLeafObject.h"
#include "TMethod.h"
#include "TMethodCall.h"
#include "TTree.h"
#include "TVirtualCollectionProxy.h"
#include "TClassEdit.h"
Include dependency graph for TFormLeafInfo.cxx:

Macros

#define GET_ARRAY(TYPE_t)
 
#define INSTANTIATE_GETVAL(CLASS)
 
#define INSTANTIATE_READVAL(CLASS)
 
#define READ_ARRAY(TYPE_t)
 

Functions

 INSTANTIATE_GETVAL (TFormLeafInfo)
 
 INSTANTIATE_GETVAL (TFormLeafInfoClones)
 
 INSTANTIATE_GETVAL (TFormLeafInfoCollection)
 
 INSTANTIATE_GETVAL (TFormLeafInfoCollectionObject)
 
 INSTANTIATE_GETVAL (TFormLeafInfoDirect)
 
 INSTANTIATE_GETVAL (TFormLeafInfoMultiVarDimDirect)
 
 INSTANTIATE_GETVAL (TFormLeafInfoPointer)
 
 INSTANTIATE_GETVAL (TFormLeafInfoTTree)
 
 INSTANTIATE_READVAL (TFormLeafInfo)
 
 INSTANTIATE_READVAL (TFormLeafInfoCast)
 
 INSTANTIATE_READVAL (TFormLeafInfoClones)
 
 INSTANTIATE_READVAL (TFormLeafInfoCollection)
 
 INSTANTIATE_READVAL (TFormLeafInfoMethod)
 
 INSTANTIATE_READVAL (TFormLeafInfoMultiVarDimClones)
 
 INSTANTIATE_READVAL (TFormLeafInfoMultiVarDimCollection)
 
 INSTANTIATE_READVAL (TFormLeafInfoPointer)
 
 INSTANTIATE_READVAL (TFormLeafInfoTTree)
 

Macro Definition Documentation

◆ GET_ARRAY

#define GET_ARRAY (   TYPE_t)
Value:
{ \
Int_t len, sub_instance, index; \
if (fNext) len = fNext->GetArrayLength(); \
else len = 1; \
if (len) { \
index = instance / len; \
sub_instance = instance % len; \
} else { \
index = instance; \
sub_instance = 0; \
} \
TYPE_t **val = (TYPE_t**)(thisobj+fOffset); \
return &((val[sub_instance])[index]); \
}
int Int_t
Definition RtypesCore.h:45

◆ INSTANTIATE_GETVAL

#define INSTANTIATE_GETVAL (   CLASS)
Value:
template Double_t CLASS::GetValueImpl<Double_t>(TLeaf*, Int_t); \
template Long64_t CLASS::GetValueImpl<Long64_t>(TLeaf*, Int_t); \
template LongDouble_t CLASS::GetValueImpl<LongDouble_t>(TLeaf*, Int_t)
double Double_t
Definition RtypesCore.h:59
long double LongDouble_t
Definition RtypesCore.h:61
long long Long64_t
Definition RtypesCore.h:80
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
Definition TLeaf.h:57

Definition at line 66 of file TFormLeafInfo.cxx.

◆ INSTANTIATE_READVAL

#define INSTANTIATE_READVAL (   CLASS)
Value:
template Double_t CLASS::ReadValueImpl<Double_t>(char*, Int_t); \
template Long64_t CLASS::ReadValueImpl<Long64_t>(char*, Int_t); \
template LongDouble_t CLASS::ReadValueImpl<LongDouble_t>(char*, Int_t)

Definition at line 60 of file TFormLeafInfo.cxx.

◆ READ_ARRAY

#define READ_ARRAY (   TYPE_t)
Value:
{ \
Int_t len, sub_instance, index; \
len = GetArrayLength(); \
if (len) { \
index = instance / len; \
sub_instance = instance % len; \
} else { \
index = instance; \
sub_instance = 0; \
} \
TYPE_t **val =(TYPE_t**)(thisobj+fOffset); \
return T((val[sub_instance])[index]); \
}
double T(double x)

Function Documentation

◆ INSTANTIATE_GETVAL() [1/8]

INSTANTIATE_GETVAL ( TFormLeafInfo  )

◆ INSTANTIATE_GETVAL() [2/8]

INSTANTIATE_GETVAL ( TFormLeafInfoClones  )

◆ INSTANTIATE_GETVAL() [3/8]

INSTANTIATE_GETVAL ( TFormLeafInfoCollection  )

◆ INSTANTIATE_GETVAL() [4/8]

INSTANTIATE_GETVAL ( TFormLeafInfoCollectionObject  )

◆ INSTANTIATE_GETVAL() [5/8]

INSTANTIATE_GETVAL ( TFormLeafInfoDirect  )

◆ INSTANTIATE_GETVAL() [6/8]

INSTANTIATE_GETVAL ( TFormLeafInfoMultiVarDimDirect  )

◆ INSTANTIATE_GETVAL() [7/8]

INSTANTIATE_GETVAL ( TFormLeafInfoPointer  )

◆ INSTANTIATE_GETVAL() [8/8]

INSTANTIATE_GETVAL ( TFormLeafInfoTTree  )

◆ INSTANTIATE_READVAL() [1/9]

INSTANTIATE_READVAL ( TFormLeafInfo  )

◆ INSTANTIATE_READVAL() [2/9]

INSTANTIATE_READVAL ( TFormLeafInfoCast  )

◆ INSTANTIATE_READVAL() [3/9]

INSTANTIATE_READVAL ( TFormLeafInfoClones  )

◆ INSTANTIATE_READVAL() [4/9]

INSTANTIATE_READVAL ( TFormLeafInfoCollection  )

◆ INSTANTIATE_READVAL() [5/9]

INSTANTIATE_READVAL ( TFormLeafInfoMethod  )

◆ INSTANTIATE_READVAL() [6/9]

INSTANTIATE_READVAL ( TFormLeafInfoMultiVarDimClones  )

◆ INSTANTIATE_READVAL() [7/9]

INSTANTIATE_READVAL ( TFormLeafInfoMultiVarDimCollection  )

◆ INSTANTIATE_READVAL() [8/9]

INSTANTIATE_READVAL ( TFormLeafInfoPointer  )

◆ INSTANTIATE_READVAL() [9/9]

INSTANTIATE_READVAL ( TFormLeafInfoTTree  )