Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Internal::TTreeGeneratorBase Class Reference

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.
 
TVirtualStreamerInfoGetBaseClass (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.
 
TVirtualStreamerInfoGetStreamerInfo (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.
 
TTreefTree
 Pointer to the tree.
 

#include <TTreeGeneratorBase.h>

Inheritance diagram for ROOT::Internal::TTreeGeneratorBase:
[legend]

Constructor & Destructor Documentation

◆ TTreeGeneratorBase()

ROOT::Internal::TTreeGeneratorBase::TTreeGeneratorBase ( TTree tree,
const char *  option 
)

Constructor.

Definition at line 37 of file TTreeGeneratorBase.cxx.

Member Function Documentation

◆ AddHeader() [1/2]

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.

◆ AddHeader() [2/2]

void ROOT::Internal::TTreeGeneratorBase::AddHeader ( TClass cl)

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.

◆ GetBaseClass()

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.

◆ GetContainedClassName()

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.

◆ GetStreamerInfo()

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.

Member Data Documentation

◆ fListOfHeaders

TList ROOT::Internal::TTreeGeneratorBase::fListOfHeaders

List of included headers.

Definition at line 38 of file TTreeGeneratorBase.h.

◆ fOptionStr

TString ROOT::Internal::TTreeGeneratorBase::fOptionStr

User options as a string.

Definition at line 40 of file TTreeGeneratorBase.h.

◆ fTree

TTree* ROOT::Internal::TTreeGeneratorBase::fTree

Pointer to the tree.

Definition at line 39 of file TTreeGeneratorBase.h.

Libraries for ROOT::Internal::TTreeGeneratorBase:

The documentation for this class was generated from the following files: