library: libTree
#include "TBranchRef.h"

TBranchRef


class description - source file - inheritance tree (.pdf)

class TBranchRef : public TBranch

Inheritance Chart:
TObject
<-
TNamed
TAttFill
<-
TBranch
<-
TBranchRef

    public:
TBranchRef() TBranchRef(TTree* tree) virtual ~TBranchRef() static TClass* Class() virtual void Clear(Option_t* option = "") virtual Int_t Fill() virtual void FillLeaves(TBuffer& b) TRefTable* GetRefTable() const virtual TClass* IsA() const virtual Bool_t Notify() virtual void Print(Option_t* option = "") const virtual void ReadLeaves(TBuffer& b) virtual void Reset(Option_t* option = "") virtual void SetParent(const TObject* obj) virtual void SetReadEntry(Long64_t entry) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TRefTable* fRefTable pointer to the TRefTable

Class Description

                                                                      
 A Branch for the case of an array of clone objects                   //                                                                      
 See TTree.                                                           //                                                                     
                                                                      


TBranchRef(): TBranch()

TBranchRef(TTree *tree) :TBranch()
 main constructor called by TTree::BranchRef

~TBranchRef()

void Clear(Option_t *option)
 clear entries in the TRefTable

Int_t Fill()
 fill the branch basket with the referenced objects parent numbers

void FillLeaves(TBuffer &b)
 This function called by TBranch::Fill overloads TBranch::FillLeaves

Bool_t Notify()
 This function is called by TRefTable::Notify, itself called by
 TRef::GetObject.
 The function reads the branch containing the object referenced
 by the TRef.

void Print(Option_t *option) const
 Print the TRefTable branch

void ReadLeaves(TBuffer &b)
 This function called by TBranch::GetEntry overloads TBranch::ReadLeaves

void Reset(Option_t *option)
    Existing buffers are deleted
    Entries, max and min are reset
    TRefTable is cleared

void SetParent(const TObject *object)
 this function is called by TBranchElement::Fill when filling
 branches that may contain referenced objects



Inline Functions


         TRefTable* GetRefTable() const
               void SetReadEntry(Long64_t entry)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Author: Rene Brun 19/08/2004
Last update: root/tree:$Name: $:$Id: TBranchRef.cxx,v 1.5 2004/12/13 12:12:35 brun Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.