54 :
TBranch(), fRequestedEntry(-1), fRefTable(0)
58 SetTitle(
"List of branch numbers with referenced objects");
130 if (!friends)
return kTRUE;
Long64_t GetReadEntry() const
virtual void ResetAfterMerge(TFileMergeInfo *)
Reset a Branch after a Merge operation (drop data but keep customizations) TRefTable is cleared...
virtual TTree * GetTree()
Return pointer to friend TTree.
TObject * GetParent(Int_t uid, TProcessID *context=0) const
Return object corresponding to uid.
void ReadLeavesImpl(TBuffer &b)
This function called by TBranch::GetEntry overloads TBranch::ReadLeaves.
TProcessID * GetUIDContext() const
virtual void SetName(const char *name)
Change (i.e.
void(TBranch::* ReadLeaves_t)(TBuffer &b)
After being read, the buffer will not be unziped.
virtual void Print(Option_t *option="") const
Print TBranch parameters.
Buffer base class used for serializing objects.
TRefTable * GetRefTable() const
virtual Bool_t Notify()
This function is called by TRefTable::Notify, itself called by TRef::GetObject.
virtual ~TBranchRef()
Typical destructor.
virtual void Clear(Option_t *="")
Clear all entries in the table.
virtual void Reset(Option_t *option="")
static void SetRefTable(TRefTable *table)
Static function setting the current TRefTable.
virtual TList * GetListOfFriends() const
A TProcessID identifies a ROOT job in a unique way in time and space.
A branch containing and managing a TRefTable for TRef autoloading.
virtual void ResetAfterMerge(TFileMergeInfo *)
Reset a Branch.
virtual Int_t Fill()
Loop on all leaves of this branch to fill Basket buffer.
virtual void Reset(Option_t *="")
Clear all entries in the table.
void FillLeavesImpl(TBuffer &b)
This function called by TBranch::Fill overloads TBranch::FillLeaves.
TDirectory * GetDirectory() const
virtual void ReadBuffer(TBuffer &b)
Fill buffer b with the fN elements in fParentdIDs.
TObject * GetObject() const
virtual TBranchRef * GetBranchRef() const
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0)
Read all leaves of entry and return total number of bytes read.
virtual TObjLink * FirstLink() const
virtual Int_t Fill()
Fill the branch basket with the referenced objects parent numbers.
TRefTable * fRefTable
Cursor indicating which entry is being requested.
virtual void Clear(Option_t *option="")
Clear entries in the TRefTable.
void(TBranch::* FillLeaves_t)(TBuffer &b)
Pointer to the ReadLeaves implementation to use.
Wrapper around a TObject so it can be stored in a TList.
virtual Int_t SetParent(const TObject *parent, Int_t branchID)
– Set current parent object, typically a branch of a tree.
A TRefTable maintains the association between a referenced object and the parent object supporting th...
virtual Int_t SetParent(const TObject *obj, Int_t branchID)
Set the current parent branch.
TDirectory * fDirectory
Address of 1st leaf (variable or object)
virtual void FillBuffer(TBuffer &b)
Fill buffer b with the fN elements in fParentdIDs.
Mother of all ROOT objects.
ClassImp(TBranchRef) TBranchRef
Default constructor.
virtual void Reset(Option_t *option="")
Reset a Branch.
A TFriendElement TF describes a TTree object TF in a file.
Long64_t fReadEntry
Current basket number when reading.
TBranch * fMother
Pointer to Tree header.
A TTree object has a header with a name and a title.
A TTree is a list of TBranches.
Int_t fCompress
branch counter
virtual void SetTitle(const char *title="")
Change (i.e. set) the title of the TNamed.
TString fFileName
Pointer to directory where this branch buffers are stored.
virtual void Print(Option_t *option="") const
Print the TRefTable branch.
char * fAddress
Pointer to parent branch.