#include <TBranchSTL.h>
Inheritance diagram for TBranchSTL:
Public Types | |
typedef std::map< TClass *, ElementBranchHelper_t > | BranchMap_t |
typedef std::map< TClass *, ElementBranchHelper_t > | BranchMap_t |
Public Member Functions | |
TBranchSTL () | |
TBranchSTL (TTree *tree, const char *name, TVirtualCollectionProxy *collProxy, Int_t buffsize, Int_t splitlevel) | |
TBranchSTL (TBranch *parent, const char *name, TVirtualCollectionProxy *collProxy, Int_t buffsize, Int_t splitlevel, TStreamerInfo *info, Int_t id) | |
virtual | ~TBranchSTL () |
virtual void | Browse (TBrowser *b) |
virtual Bool_t | IsFolder () const |
virtual Int_t | Fill () |
virtual void | FillLeaves (TBuffer &b) |
virtual const char * | GetClassName () const |
virtual Int_t | GetEntry (Long64_t entry=0, Int_t getall=0) |
virtual TStreamerInfo * | GetInfo () const |
virtual void | Print (Option_t *) const |
virtual void | SetAddress (void *addr) |
TBranchSTL () | |
TBranchSTL (TTree *tree, const char *name, TVirtualCollectionProxy *collProxy, Int_t buffsize, Int_t splitlevel) | |
TBranchSTL (TBranch *parent, const char *name, TVirtualCollectionProxy *collProxy, Int_t buffsize, Int_t splitlevel, TStreamerInfo *info, Int_t id) | |
virtual | ~TBranchSTL () |
virtual void | Browse (TBrowser *b) |
virtual Bool_t | IsFolder () const |
virtual Int_t | Fill () |
virtual void | FillLeaves (TBuffer &b) |
virtual const char * | GetClassName () const |
virtual Int_t | GetEntry (Long64_t entry=0, Int_t getall=0) |
virtual TStreamerInfo * | GetInfo () const |
virtual void | Print (Option_t *) const |
virtual void | SetAddress (void *addr) |
Public Attributes | |
BranchMap_t | fBranchMap |
std::vector< ElementBranchHelper_t > | fBranchVector |
Branch map. | |
TVirtualCollectionProxy * | fCollProxy |
Branch vector. | |
TBranch * | fParent |
Collection proxy. | |
TClass * | fIndArrayCl |
Parent of this branch. | |
TIndArray | fInd |
Class of the ind array. | |
TString | fContName |
Indices. | |
TString | fClassName |
Int_t | fClassVersion |
UInt_t | fClCheckSum |
TStreamerInfo * | fInfo |
char * | fObject |
The streamer info. | |
Int_t | fID |
Pointer to object at address or the. | |
std::vector< ElementBranchHelper_t > | fBranchVector |
Branch map. | |
TVirtualCollectionProxy * | fCollProxy |
Branch vector. | |
TBranch * | fParent |
Collection proxy. | |
TClass * | fIndArrayCl |
Parent of this branch. | |
TStreamerInfo * | fInfo |
char * | fObject |
The streamer info. | |
Classes | |
struct | ElementBranchHelper_t |
Definition at line 22 of file TBranchSTL.h.
typedef std::map<TClass*, ElementBranchHelper_t> TBranchSTL::BranchMap_t |
Definition at line 63 of file TBranchSTL.h.
typedef std::map<TClass*, ElementBranchHelper_t> TBranchSTL::BranchMap_t |
Definition at line 63 of file TBranchSTL.h.
TBranchSTL::TBranchSTL | ( | ) |
TBranchSTL::TBranchSTL | ( | TTree * | tree, | |
const char * | name, | |||
TVirtualCollectionProxy * | collProxy, | |||
Int_t | buffsize, | |||
Int_t | splitlevel | |||
) |
Definition at line 47 of file TBranchSTL.cxx.
References TBranch::fBasketBytes, TBranch::fBasketEntry, TBranch::fBasketSeek, TBranch::fBasketSize, fBranchVector, fClassVersion, fClCheckSum, fCollProxy, fContName, TBranch::fDirectory, TBranch::fFileName, fID, fIndArrayCl, fInfo, TBranch::fMaxBaskets, TBranch::fMother, TBranch::fNleaves, fParent, TBranch::fReadLeaves, TBranch::fSplitLevel, TBranch::fTree, TClass::GetClass(), TVirtualCollectionProxy::GetCollectionClass(), TTree::GetDirectory(), i, Long64_t, TBranch::ReadLeavesImpl(), and TNamed::SetName().
TBranchSTL::TBranchSTL | ( | TBranch * | parent, | |
const char * | name, | |||
TVirtualCollectionProxy * | collProxy, | |||
Int_t | buffsize, | |||
Int_t | splitlevel, | |||
TStreamerInfo * | info, | |||
Int_t | id | |||
) |
Definition at line 88 of file TBranchSTL.cxx.
References TBranch::fBasketBytes, TBranch::fBasketEntry, TBranch::fBasketSeek, TBranch::fBasketSize, fBranchVector, fClassName, fClassVersion, fClCheckSum, fCollProxy, fContName, TBranch::fDirectory, TBranch::fFileName, fID, fIndArrayCl, fInfo, TBranch::fMaxBaskets, TBranch::fMother, TBranch::fNleaves, fParent, TBranch::fReadLeaves, TBranch::fSplitLevel, TBranch::fTree, TClass::GetClass(), TVirtualCollectionProxy::GetCollectionClass(), TTree::GetDirectory(), TBranch::GetMother(), TBranch::GetTree(), i, info, Long64_t, TBranch::ReadLeavesImpl(), and TNamed::SetName().
TBranchSTL::~TBranchSTL | ( | ) | [virtual] |
TBranchSTL::TBranchSTL | ( | ) |
TBranchSTL::TBranchSTL | ( | TTree * | tree, | |
const char * | name, | |||
TVirtualCollectionProxy * | collProxy, | |||
Int_t | buffsize, | |||
Int_t | splitlevel | |||
) |
TBranchSTL::TBranchSTL | ( | TBranch * | parent, | |
const char * | name, | |||
TVirtualCollectionProxy * | collProxy, | |||
Int_t | buffsize, | |||
Int_t | splitlevel, | |||
TStreamerInfo * | info, | |||
Int_t | id | |||
) |
virtual TBranchSTL::~TBranchSTL | ( | ) | [virtual] |
void TBranchSTL::Browse | ( | TBrowser * | b | ) | [virtual] |
Reimplemented from TBranch.
Definition at line 143 of file TBranchSTL.cxx.
References TList::Add(), b, TCollection::Browse(), TBranch::fBranches, and TObjArray::GetEntriesFast().
Bool_t TBranchSTL::IsFolder | ( | ) | const [virtual] |
Reimplemented from TBranch.
Definition at line 546 of file TBranchSTL.cxx.
References TBranch::fBranches, TObjArray::GetEntriesFast(), kFALSE, and kTRUE.
Int_t TBranchSTL::Fill | ( | ) | [virtual] |
Reimplemented from TBranch.
Definition at line 158 of file TBranchSTL.cxx.
References TObjArray::Add(), TVirtualCollectionProxy::At(), TIndArray::At(), TObject::Error(), TBranch::fAddress, TBranchSTL::ElementBranchHelper_t::fBaseOffset, TBranch::fBasketSize, TBranchSTL::ElementBranchHelper_t::fBranch, TBranch::fBranches, fBranchMap, fCollProxy, TBranch::fEntryNumber, TBranchSTL::ElementBranchHelper_t::fId, TBranch::Fill(), fInd, fObject, TString::Form(), TBranchSTL::ElementBranchHelper_t::fPointers, TBranch::fSplitLevel, TClass::GetActualClass(), TClass::GetBaseClassOffset(), TIndArray::GetCapacity(), TClass::GetClass(), TClass::GetCollectionProxy(), TObjArray::GetEntriesFast(), TNamed::GetName(), TVirtualCollectionProxy::GetValueClass(), i, TIndArray::Reserve(), TBranchElement::SetAddress(), TBranch::SetFirstEntry(), TIndArray::SetNumItems(), TVirtualCollectionProxy::Size(), size, TObjArray::UncheckedAt(), and TObject::Warning().
void TBranchSTL::FillLeaves | ( | TBuffer & | b | ) | [virtual] |
Reimplemented from TBranch.
Definition at line 556 of file TBranchSTL.cxx.
References b, fInd, and fIndArrayCl.
virtual const char* TBranchSTL::GetClassName | ( | ) | const [inline, virtual] |
Reimplemented from TBranch.
Definition at line 37 of file TBranchSTL.h.
References TString::Data(), and fClassName.
Referenced by Print().
Reimplemented from TBranch.
Definition at line 333 of file TBranchSTL.cxx.
References TIndArray::At(), TString::Data(), env, TObject::Error(), TBranch::fAddress, TBranch::fBranches, fBranchVector, fCollProxy, fContName, TBranch::fEntryNumber, TBranch::fFirstEntry, fInd, fObject, TClass::GetBaseClassOffset(), TClass::GetClass(), TBranchElement::GetClassName(), TClass::GetCollectionProxy(), TBranchElement::GetCollectionProxy(), TObjArray::GetEntriesFast(), TBranchElement::GetEntry(), TBranch::GetEntry(), TNamed::GetName(), TIndArray::GetNumItems(), TVirtualCollectionProxy::GetValueClass(), i, kDoNotProcess, kTRUE, TVirtualCollectionProxy::New(), TBranchElement::SetAddress(), size, TObject::TestBit(), and TObjArray::UncheckedAt().
TStreamerInfo * TBranchSTL::GetInfo | ( | ) | const [virtual] |
Definition at line 501 of file TBranchSTL.cxx.
References TStreamerInfo::BuildOld(), fClassName, fClassVersion, fClCheckSum, fInfo, TClass::GetClass(), TObjArray::GetEntriesFast(), TClass::GetStreamerInfo(), TClass::GetStreamerInfos(), i, info, TClass::IsForeign(), TVirtualStreamerInfo::kCannotOptimize, TObject::SetBit(), and TObjArray::UncheckedAt().
Referenced by Print(), and SetAddress().
void TBranchSTL::Print | ( | Option_t * | ) | const [virtual] |
Reimplemented from TBranch.
Definition at line 564 of file TBranchSTL.cxx.
References TObjArray::At(), TBranch::fBranches, fID, fObject, fParent, TBranchElement::GetBranchOffset(), GetClassName(), TStreamerInfo::GetElems(), TObjArray::GetEntriesFast(), GetInfo(), TBranch::GetListOfBranches(), TBranch::GetMother(), TNamed::GetName(), TBranch::GetSubBranch(), i, TObjArray::IndexOf(), info, TBranch::Print(), TObject::Print(), Printf(), and TObjArray::UncheckedAt().
void TBranchSTL::SetAddress | ( | void * | addr | ) | [virtual] |
Reimplemented from TBranch.
Definition at line 615 of file TBranchSTL.cxx.
References TObjArray::At(), TBranch::fAddress, fID, fInfo, fObject, TStreamerInfo::GetElements(), GetInfo(), TStreamerElement::GetOffset(), and TStreamerElement::IsaPointer().
virtual const char* TBranchSTL::GetClassName | ( | ) | const [inline, virtual] |
Reimplemented from TBranch.
Definition at line 37 of file TBranchSTL.h.
References TString::Data(), and fClassName.
Reimplemented from TBranch.
virtual TStreamerInfo* TBranchSTL::GetInfo | ( | ) | const [virtual] |
virtual void TBranchSTL::SetAddress | ( | void * | addr | ) | [virtual] |
Reimplemented from TBranch.
std::vector<ElementBranchHelper_t> TBranchSTL::fBranchVector |
Branch vector.
Definition at line 68 of file TBranchSTL.h.
Referenced by Fill(), GetEntry(), and TBranchSTL().
Collection proxy.
Reimplemented from TBranch.
Definition at line 69 of file TBranchSTL.h.
Referenced by Print(), and TBranchSTL().
Parent of this branch.
Definition at line 70 of file TBranchSTL.h.
Referenced by FillLeaves(), and TBranchSTL().
Class of the ind array.
Definition at line 71 of file TBranchSTL.h.
Referenced by Fill(), FillLeaves(), and GetEntry().
Definition at line 73 of file TBranchSTL.h.
Referenced by GetClassName(), GetInfo(), and TBranchSTL().
Int_t TBranchSTL::fClassVersion [mutable] |
TStreamerInfo* TBranchSTL::fInfo [mutable] |
Definition at line 76 of file TBranchSTL.h.
Referenced by GetInfo(), SetAddress(), and TBranchSTL().
char* TBranchSTL::fObject |
The streamer info.
Definition at line 77 of file TBranchSTL.h.
Referenced by Fill(), GetEntry(), Print(), and SetAddress().
Pointer to object at address or the.
Definition at line 78 of file TBranchSTL.h.
Referenced by Print(), SetAddress(), and TBranchSTL().
std::vector<ElementBranchHelper_t> TBranchSTL::fBranchVector |
TStreamerInfo* TBranchSTL::fInfo [mutable] |
Definition at line 76 of file TBranchSTL.h.
char* TBranchSTL::fObject |