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)
 

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
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t len

◆ 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)