#include <TBranchObject.h>
Inheritance diagram for TBranchObject:

Public Member Functions | |
| TBranchObject () | |
| TBranchObject (TBranch *parent, const char *name, const char *classname, void *addobj, Int_t basketsize=32000, Int_t splitlevel=0, Int_t compress=-1, Bool_t isptrptr=kTRUE) | |
| TBranchObject (TTree *tree, const char *name, const char *classname, void *addobj, Int_t basketsize=32000, Int_t splitlevel=0, Int_t compress=-1, Bool_t isptrptr=kTRUE) | |
| virtual | ~TBranchObject () |
| virtual void | Browse (TBrowser *b) |
| virtual Int_t | Fill () |
| virtual const char * | GetClassName () const |
| virtual const char * | GetObjClassName () |
| virtual Int_t | GetEntry (Long64_t entry=0, Int_t getall=0) |
| virtual Int_t | GetExpectedType (TClass *&clptr, EDataType &type) |
| Bool_t | IsFolder () const |
| virtual void | Print (Option_t *option="") const |
| virtual void | Reset (Option_t *option="") |
| virtual void | SetAddress (void *addobj) |
| virtual void | SetAutoDelete (Bool_t autodel=kTRUE) |
| virtual void | SetBasketSize (Int_t buffsize) |
| virtual void | SetupAddresses () |
| virtual void | UpdateAddress () |
| ClassDef (TBranchObject, 1) | |
| TBranchObject () | |
| TBranchObject (TBranch *parent, const char *name, const char *classname, void *addobj, Int_t basketsize=32000, Int_t splitlevel=0, Int_t compress=-1, Bool_t isptrptr=kTRUE) | |
| TBranchObject (TTree *tree, const char *name, const char *classname, void *addobj, Int_t basketsize=32000, Int_t splitlevel=0, Int_t compress=-1, Bool_t isptrptr=kTRUE) | |
| virtual | ~TBranchObject () |
| virtual void | Browse (TBrowser *b) |
| virtual Int_t | Fill () |
| virtual const char * | GetClassName () const |
| virtual const char * | GetObjClassName () |
| virtual Int_t | GetEntry (Long64_t entry=0, Int_t getall=0) |
| virtual Int_t | GetExpectedType (TClass *&clptr, EDataType &type) |
| Bool_t | IsFolder () const |
| virtual void | Print (Option_t *option="") const |
| virtual void | Reset (Option_t *option="") |
| virtual void | SetAddress (void *addobj) |
| virtual void | SetAutoDelete (Bool_t autodel=kTRUE) |
| virtual void | SetBasketSize (Int_t buffsize) |
| virtual void | SetupAddresses () |
| virtual void | UpdateAddress () |
| ClassDef (TBranchObject, 1) | |
Protected Types | |
| enum | |
| enum | |
Protected Member Functions | |
| void | Init (TTree *tree, TBranch *parent, const char *name, const char *classname, void *addobj, Int_t basketsize, Int_t splitlevel, Int_t compress, Bool_t isptrptr) |
| Pointer to old object. | |
| void | Init (TTree *tree, TBranch *parent, const char *name, const char *classname, void *addobj, Int_t basketsize, Int_t splitlevel, Int_t compress, Bool_t isptrptr) |
| Pointer to old object. | |
Protected Attributes | |
| TString | fClassName |
| TObject * | fOldObject |
| TObject * | fOldObject |
Definition at line 28 of file TBranchObject.h.
anonymous enum [protected] |
Definition at line 31 of file TBranchObject.h.
anonymous enum [protected] |
Definition at line 31 of file TBranchObject.h.
| TBranchObject::TBranchObject | ( | ) |
| TBranchObject::~TBranchObject | ( | ) | [virtual] |
Definition at line 148 of file TBranchObject.cxx.
References TObjArray::Delete(), and TBranch::fBranches.
| TBranchObject::TBranchObject | ( | ) |
| TBranchObject::TBranchObject | ( | TBranch * | parent, | |
| const char * | name, | |||
| const char * | classname, | |||
| void * | addobj, | |||
| Int_t | basketsize = 32000, |
|||
| Int_t | splitlevel = 0, |
|||
| Int_t | compress = -1, |
|||
| Bool_t | isptrptr = kTRUE | |||
| ) |
| TBranchObject::TBranchObject | ( | TTree * | tree, | |
| const char * | name, | |||
| const char * | classname, | |||
| void * | addobj, | |||
| Int_t | basketsize = 32000, |
|||
| Int_t | splitlevel = 0, |
|||
| Int_t | compress = -1, |
|||
| Bool_t | isptrptr = kTRUE | |||
| ) |
| virtual TBranchObject::~TBranchObject | ( | ) | [virtual] |
| void TBranchObject::Init | ( | TTree * | tree, | |
| TBranch * | parent, | |||
| const char * | name, | |||
| const char * | classname, | |||
| void * | addobj, | |||
| Int_t | basketsize, | |||
| Int_t | splitlevel, | |||
| Int_t | compress, | |||
| Bool_t | isptrptr | |||
| ) | [protected] |
Pointer to old object.
Definition at line 67 of file TBranchObject.cxx.
References TObjArray::Add(), TTree::BuildStreamerInfo(), TClass::Destructor(), TObject::Error(), TBranch::fAddress, TBranch::fBasketBytes, TBranch::fBasketEntry, TBranch::fBasketSeek, TBranch::fBasketSize, fClassName, TBranch::fCompress, TBranch::fDirectory, TBranch::fFileName, TBranch::fLeaves, TBranch::fMaxBaskets, TBranch::fMother, TBranch::fNleaves, fOldObject, TBranch::fParent, TBranch::fTree, TClass::GetClass(), TTree::GetDirectory(), TDirectory::GetFile(), TTree::GetListOfLeaves(), TBranch::GetMother(), TBranch::GetTree(), i, kFALSE, kTRUE, Long64_t, TClass::New(), TLeaf::SetAddress(), SetAutoDelete(), TNamed::SetName(), and TNamed::SetTitle().
Referenced by TBranchObject().
| void TBranchObject::Browse | ( | TBrowser * | b | ) | [virtual] |
Reimplemented from TBranch.
Definition at line 155 of file TBranchObject.cxx.
References b, TCollection::Browse(), TBranch::fBranches, TBranch::GetBrowsables(), and TObjArray::GetEntriesFast().
| Int_t TBranchObject::Fill | ( | ) | [virtual] |
Reimplemented from TBranch.
Definition at line 169 of file TBranchObject.cxx.
References TBranch::fBranches, TBranch::fEntries, TBranch::Fill(), TObjArray::GetEntriesFast(), i, kDoNotProcess, TObject::TestBit(), and UpdateAddress().
| virtual const char* TBranchObject::GetClassName | ( | ) | const [inline, virtual] |
Reimplemented from TBranch.
Definition at line 46 of file TBranchObject.h.
References TString::Data(), and fClassName.
| virtual const char* TBranchObject::GetObjClassName | ( | ) | [inline, virtual] |
Reimplemented from TBranch.
Definition at line 195 of file TBranchObject.cxx.
References TBranch::fAddress, TBranch::fBranches, TObjArray::GetEntriesFast(), TBranch::GetEntry(), i, kDoNotProcess, SetupAddresses(), and TObject::TestBit().
Reimplemented from TBranch.
Definition at line 235 of file TBranchObject.cxx.
References TObjArray::At(), TObject::Error(), TLeafObject::GetClass(), TBranch::GetListOfLeaves(), TNamed::GetName(), and kOther_t.
| Bool_t TBranchObject::IsFolder | ( | ) | const [virtual] |
Reimplemented from TBranch.
Definition at line 254 of file TBranchObject.cxx.
References TBranch::fBranches, TBranch::GetBrowsables(), TObjArray::GetEntriesFast(), TCollection::GetSize(), and kTRUE.
| void TBranchObject::Print | ( | Option_t * | option = "" |
) | const [virtual] |
Reimplemented from TBranch.
Definition at line 270 of file TBranchObject.cxx.
References TObjArray::At(), TBranch::fBranches, TBranch::fEntries, TObjArray::GetEntriesFast(), TNamed::GetName(), TNamed::GetTitle(), i, TBranch::Print(), TObject::Print(), and Printf().
| void TBranchObject::Reset | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TBranch.
Definition at line 291 of file TBranchObject.cxx.
References TBranch::fBranches, TObjArray::GetEntriesFast(), i, and TBranch::Reset().
| void TBranchObject::SetAddress | ( | void * | addobj | ) | [virtual] |
Reimplemented from TBranch.
Definition at line 308 of file TBranchObject.cxx.
References TClass::BuildRealData(), xmlio::Class, TString::Data(), TObject::Error(), TBranch::fAddress, TBranch::fBranches, fClassName, TObjArray::FindObject(), TBranch::fLeaves, TBranch::fReadEntry, TDataMember::GetArrayIndex(), TClass::GetClass(), TClonesArray::GetClass(), TRealData::GetDataMember(), TDataMember::GetDataType(), TObjArray::GetEntriesFast(), TClass::GetListOfRealData(), TNamed::GetName(), TRealData::GetName(), TClass::GetStreamerInfo(), TRealData::GetThisOffset(), TDataType::GetType(), TDataMember::GetTypeName(), i, TClass::InheritsFrom(), TDataMember::IsaPointer(), TDataMember::IsBasic(), TDataMember::IsPersistent(), kDoNotProcess, TRealData::kTransient, kWarn, TClass::New(), TLeaf::SetAddress(), TBranch::SetAddress(), TObject::SetBit(), snprintf, TObject::TestBit(), and TObjArray::UncheckedAt().
Referenced by SetupAddresses(), and UpdateAddress().
Reimplemented from TBranch.
Definition at line 483 of file TBranchObject.cxx.
References TBranch::fBranches, TObjArray::GetEntriesFast(), i, and TBranch::SetAutoDelete().
Referenced by Init().
| void TBranchObject::SetBasketSize | ( | Int_t | buffsize | ) | [virtual] |
Reimplemented from TBranch.
Definition at line 515 of file TBranchObject.cxx.
References TBranch::fBasketSize, TBranch::fBranches, TObjArray::GetEntriesFast(), i, and TBranch::SetBasketSize().
| void TBranchObject::SetupAddresses | ( | ) | [virtual] |
Reimplemented from TBranch.
Definition at line 573 of file TBranchObject.cxx.
References TString::Data(), TBranch::fAddress, fClassName, TClass::GetClass(), kWarn, TClass::New(), SetAddress(), TObject::SetBit(), TObject::TestBit(), and TObject::Warning().
Referenced by GetEntry().
| void TBranchObject::UpdateAddress | ( | ) | [virtual] |
Reimplemented from TBranch.
Definition at line 596 of file TBranchObject.cxx.
References TBranch::fAddress, fOldObject, and SetAddress().
Referenced by Fill().
| TBranchObject::ClassDef | ( | TBranchObject | , | |
| 1 | ||||
| ) |
| void TBranchObject::Init | ( | TTree * | tree, | |
| TBranch * | parent, | |||
| const char * | name, | |||
| const char * | classname, | |||
| void * | addobj, | |||
| Int_t | basketsize, | |||
| Int_t | splitlevel, | |||
| Int_t | compress, | |||
| Bool_t | isptrptr | |||
| ) | [protected] |
Pointer to old object.
| virtual const char* TBranchObject::GetClassName | ( | ) | const [inline, virtual] |
Reimplemented from TBranch.
Definition at line 46 of file TBranchObject.h.
References TString::Data(), and fClassName.
| virtual const char* TBranchObject::GetObjClassName | ( | ) | [inline, virtual] |
Reimplemented from TBranch.
Reimplemented from TBranch.
| virtual void TBranchObject::Print | ( | Option_t * | option = "" |
) | const [virtual] |
Reimplemented from TBranch.
| virtual void TBranchObject::SetAddress | ( | void * | addobj | ) | [virtual] |
Reimplemented from TBranch.
Reimplemented from TBranch.
| virtual void TBranchObject::SetupAddresses | ( | ) | [virtual] |
Reimplemented from TBranch.
| virtual void TBranchObject::UpdateAddress | ( | ) | [virtual] |
Reimplemented from TBranch.
| TBranchObject::ClassDef | ( | TBranchObject | , | |
| 1 | ||||
| ) |
TString TBranchObject::fClassName [protected] |
Definition at line 33 of file TBranchObject.h.
Referenced by GetClassName(), GetObjClassName(), Init(), SetAddress(), and SetupAddresses().
TObject* TBranchObject::fOldObject [protected] |
TObject* TBranchObject::fOldObject [protected] |
Definition at line 34 of file TBranchObject.h.
1.5.1