Logo ROOT  
Reference Guide
ROOT::Internal::TTreeGeneratorBase Class Reference

Definition at line 36 of file TTreeGeneratorBase.h.

Public Member Functions

 TTreeGeneratorBase (TTree *tree, const char *option)
 Constructor. More...
 
void AddHeader (const char *classname)
 Add a header inclusion request. More...
 
void AddHeader (TClass *cl)
 Add a header inclusion request. More...
 
TVirtualStreamerInfoGetBaseClass (TStreamerElement *element)
 Check if element is a base class and if yes, return the base class. More...
 
TString GetContainedClassName (TBranchElement *branch, TStreamerElement *element, Bool_t ispointer)
 Get name of class inside a container. More...
 
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. More...
 

Public Attributes

TList fListOfHeaders
 
TString fOptionStr
 
TTreefTree
 

#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 32 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 144 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 38 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 197 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 152 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 212 of file TTreeGeneratorBase.cxx.

Member Data Documentation

◆ fListOfHeaders

TList ROOT::Internal::TTreeGeneratorBase::fListOfHeaders

Definition at line 38 of file TTreeGeneratorBase.h.

◆ fOptionStr

TString ROOT::Internal::TTreeGeneratorBase::fOptionStr

Definition at line 40 of file TTreeGeneratorBase.h.

◆ fTree

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

Definition at line 39 of file TTreeGeneratorBase.h.

Libraries for ROOT::Internal::TTreeGeneratorBase:
[legend]

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