ROOT  6.06/09
Reference Guide
Public Member Functions | Public Attributes | List of all members
ROOT::Internal::TTreeGeneratorBase Class Reference

Definition at line 39 of file TTreeGeneratorBase.h.

Public Member Functions

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

#include <TTreeGeneratorBase.h>

+ Inheritance diagram for ROOT::Internal::TTreeGeneratorBase:
+ Collaboration diagram for ROOT::Internal::TTreeGeneratorBase:

Constructor & Destructor Documentation

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

Constructor.

Definition at line 32 of file TTreeGeneratorBase.cxx.

Member Function Documentation

void ROOT::Internal::TTreeGeneratorBase::AddHeader ( TClass cl)
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.

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.

Referenced by ROOT::Internal::TTreeProxyGenerator::AnalyzeBranches(), and ROOT::Internal::TTreeReaderGenerator::AnalyzeBranches().

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.

Referenced by ROOT::Internal::TTreeProxyGenerator::AnalyzeBranches(), and ROOT::Internal::TTreeReaderGenerator::AnalyzeBranches().

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.

Referenced by ROOT::Internal::TTreeProxyGenerator::AnalyzeBranches(), ROOT::Internal::TTreeReaderGenerator::AnalyzeBranches(), ROOT::Internal::TTreeProxyGenerator::AnalyzeTree(), and ROOT::Internal::TTreeReaderGenerator::AnalyzeTree().

Member Data Documentation

TList ROOT::Internal::TTreeGeneratorBase::fListOfHeaders
TString ROOT::Internal::TTreeGeneratorBase::fOptionStr
TTree* ROOT::Internal::TTreeGeneratorBase::fTree

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