Base class for code generators like TTreeProxyGenerator and TTreeReaderGenerator.
Definition at line 36 of file TTreeGeneratorBase.h.
Public Member Functions | |
TTreeGeneratorBase (TTree *tree, const char *option) | |
Constructor. | |
void | AddHeader (const char *classname) |
Add a header inclusion request. | |
void | AddHeader (TClass *cl) |
Add a header inclusion request. | |
TVirtualStreamerInfo * | GetBaseClass (TStreamerElement *element) |
Check if element is a base class and if yes, return the base class. | |
TString | GetContainedClassName (TBranchElement *branch, TStreamerElement *element, Bool_t ispointer) |
Get name of class inside a container. | |
TVirtualStreamerInfo * | GetStreamerInfo (TBranch *branch, TIter current, TClass *cl) |
Return the correct TStreamerInfo of class 'cl' in the list of branches (current) [Assuming these branches correspond to a flattened version of the class. | |
Public Attributes | |
TList | fListOfHeaders |
List of included headers. | |
TString | fOptionStr |
User options as a string. | |
TTree * | fTree |
Pointer to the tree. | |
#include <TTreeGeneratorBase.h>
ROOT::Internal::TTreeGeneratorBase::TTreeGeneratorBase | ( | TTree * | tree, |
const char * | option | ||
) |
Constructor.
Definition at line 37 of file TTreeGeneratorBase.cxx.
void ROOT::Internal::TTreeGeneratorBase::AddHeader | ( | const char * | classname | ) |
Add a header inclusion request.
If the header is already included it will not be included again.
Definition at line 153 of file TTreeGeneratorBase.cxx.
Add a header inclusion request.
If the header is already included it will not be included again.
Definition at line 43 of file TTreeGeneratorBase.cxx.
TVirtualStreamerInfo * ROOT::Internal::TTreeGeneratorBase::GetBaseClass | ( | TStreamerElement * | element | ) |
Check if element is a base class and if yes, return the base class.
Definition at line 206 of file TTreeGeneratorBase.cxx.
TString ROOT::Internal::TTreeGeneratorBase::GetContainedClassName | ( | TBranchElement * | branch, |
TStreamerElement * | element, | ||
Bool_t | ispointer | ||
) |
Get name of class inside a container.
Definition at line 161 of file TTreeGeneratorBase.cxx.
TVirtualStreamerInfo * ROOT::Internal::TTreeGeneratorBase::GetStreamerInfo | ( | TBranch * | branch, |
TIter | current, | ||
TClass * | cl | ||
) |
Return the correct TStreamerInfo of class 'cl' in the list of branches (current) [Assuming these branches correspond to a flattened version of the class.
]
Definition at line 221 of file TTreeGeneratorBase.cxx.
TList ROOT::Internal::TTreeGeneratorBase::fListOfHeaders |
List of included headers.
Definition at line 38 of file TTreeGeneratorBase.h.
TString ROOT::Internal::TTreeGeneratorBase::fOptionStr |
User options as a string.
Definition at line 40 of file TTreeGeneratorBase.h.
TTree* ROOT::Internal::TTreeGeneratorBase::fTree |
Pointer to the tree.
Definition at line 39 of file TTreeGeneratorBase.h.