28 fDirector(0), fInitialized(false), fBranchName(
""), fParent(0),
29 fDataMember(
""), fIsMember(false), fIsClone(false), fIsaPointer(0),
30 fClassName(
""), fClass(0), fElement(0), fMemberOffset(0), fOffset(0),
31 fBranch(0), fBranchCount(0),
32 fLastTree(0), fRead(-1), fWhere(0),fCollection(0), fCurrentTreeNumber(-1)
63 if (name && strlen(name)) {
82 if (name && strlen(name)) {
131 std::cout <<
"fBranchName " <<
fBranchName << std::endl;
133 std::cout <<
"fBranch " <<
fBranch << std::endl;
166 if (clones) pcl = clones->
GetClass();
317 }
else if (be->
GetType()==41) {
323 }
else if (be->
GetType()==31) {
379 TString bcname = bcount->
GetName();
380 member = bname.Remove(0,bcname.Length()+1);
388 Error(
"Setup",
"%s",
Form(
"Negative offset %d for %s in %s",
390 bcount?bcount->
GetName():
"unknown"));
Describe Streamer information for one class version.
virtual const char * GetName() const
Returns name of object.
virtual const char * GetClassName() const
Return the name of the user class whose content is stored in this branch, if any. ...
std::string GetName(const std::string &scope_name)
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
TVirtualCollectionProxy * GetCollectionProxy()
Return the collection proxy describing the branch content, if any.
const TString fDataMember
virtual void SetAddress(void *add)
Set address of this branch.
virtual TClass * GetValueClass() const =0
virtual TClass * GetClassPointer() const
Returns a pointer to the TClass of this element.
TVirtualStreamerInfo * GetStreamerInfo(Int_t version=0) const
returns a pointer to the TVirtualStreamerInfo object for version If the object does not exist...
TStreamerInfo * GetInfo() const
Get streamer info for the branch class.
TStreamerElement * fElement
TVirtualCollectionProxy * GetCollectionProxy() const
Return the proxy describing the collection (if any).
virtual void * GetStart(UInt_t=0)
TObject * At(Int_t idx) const
void SetReadEntry(Long64_t entry)
TBranchElement * GetBranchCount() const
virtual TObject * FindObject(const char *name) const
Find an object in this collection using its name.
virtual TLeaf * GetLeaf(const char *name) const
Return pointer to the 1st Leaf named name in thisBranch.
const TString fBranchName
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0)
Read all branches of a BranchElement and return total number of bytes.
char * GetObject() const
Return a pointer to our object.
char * Form(const char *fmt,...)
virtual TLeaf * GetLeafCount() const
virtual void * GetValuePointer() const
The ROOT global object gROOT contains a list of all defined classes.
Int_t GetElementOffset(Int_t id) const
A Branch for the case of an object.
Long64_t GetReadEntry() const
virtual TObjArray * GetElements() const =0
virtual Bool_t IsaPointer() const
virtual const char * GetClassName() const
Return the name of the user class whose content is stored in this branch, if any. ...
Long_t GetDataMemberOffset(const char *membername) const
return offset for member name.
TObjArray * GetListOfLeaves()
Internal::TBranchProxyDirector * fDirector
static TClass * GetClass(const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE)
Static method returning pointer to TClass of the specified class name.
TClass * GetClass() const
TObjArray * GetElements() const
An array of clone (identical) objects.
virtual char * GetAddress() const
Base class for all the proxy object.
Bool_t IsaPointer() const
TBranch * GetBranch() const
A TTree is a list of TBranches.
TVirtualCollectionProxy * fCollection
TBranch * GetMother() const
Get our top-level parent branch in the tree.
void Error(ErrorHandler_t func, int code, const char *va_(fmt),...)
Write error message and call a handler, if required.
virtual TVirtualCollectionProxy * Generate() const =0
void Attach(Detail::TBranchProxy *p)