TBranchSTL Class Reference

#include <TBranchSTL.h>

Inheritance diagram for TBranchSTL:

TBranch TBranch TAttFill TNamed TAttFill TNamed TAttFill TNamed TAttFill TNamed List of all members.

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 TStreamerInfoGetInfo () 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 TStreamerInfoGetInfo () const
virtual void Print (Option_t *) const
virtual void SetAddress (void *addr)

Public Attributes

BranchMap_t fBranchMap
std::vector< ElementBranchHelper_tfBranchVector
 Branch map.
TVirtualCollectionProxyfCollProxy
 Branch vector.
TBranchfParent
 Collection proxy.
TClassfIndArrayCl
 Parent of this branch.
TIndArray fInd
 Class of the ind array.
TString fContName
 Indices.
TString fClassName
Int_t fClassVersion
UInt_t fClCheckSum
TStreamerInfofInfo
char * fObject
 The streamer info.
Int_t fID
 Pointer to object at address or the.
std::vector< ElementBranchHelper_tfBranchVector
 Branch map.
TVirtualCollectionProxyfCollProxy
 Branch vector.
TBranchfParent
 Collection proxy.
TClassfIndArrayCl
 Parent of this branch.
TStreamerInfofInfo
char * fObject
 The streamer info.

Classes

struct  ElementBranchHelper_t

Detailed Description

Definition at line 22 of file TBranchSTL.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

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]

Definition at line 132 of file TBranchSTL.cxx.

References fBranchMap.

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]


Member Function Documentation

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().

Int_t TBranchSTL::GetEntry ( Long64_t  entry = 0,
Int_t  getall = 0 
) [virtual]

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 void TBranchSTL::Browse ( TBrowser b  )  [virtual]

Reimplemented from TBranch.

virtual Bool_t TBranchSTL::IsFolder (  )  const [virtual]

Reimplemented from TBranch.

virtual Int_t TBranchSTL::Fill (  )  [virtual]

Reimplemented from TBranch.

virtual void TBranchSTL::FillLeaves ( TBuffer b  )  [virtual]

Reimplemented from TBranch.

virtual const char* TBranchSTL::GetClassName (  )  const [inline, virtual]

Reimplemented from TBranch.

Definition at line 37 of file TBranchSTL.h.

References TString::Data(), and fClassName.

virtual Int_t TBranchSTL::GetEntry ( Long64_t  entry = 0,
Int_t  getall = 0 
) [virtual]

Reimplemented from TBranch.

virtual TStreamerInfo* TBranchSTL::GetInfo (  )  const [virtual]

virtual void TBranchSTL::Print ( Option_t  )  const [virtual]

Reimplemented from TBranch.

virtual void TBranchSTL::SetAddress ( void *  addr  )  [virtual]

Reimplemented from TBranch.


Member Data Documentation

BranchMap_t TBranchSTL::fBranchMap

Definition at line 64 of file TBranchSTL.h.

Referenced by Fill(), and ~TBranchSTL().

std::vector<ElementBranchHelper_t> TBranchSTL::fBranchVector

Branch map.

Definition at line 65 of file TBranchSTL.h.

Referenced by GetEntry(), and TBranchSTL().

TVirtualCollectionProxy* TBranchSTL::fCollProxy

Branch vector.

Definition at line 68 of file TBranchSTL.h.

Referenced by Fill(), GetEntry(), and TBranchSTL().

TBranch* TBranchSTL::fParent

Collection proxy.

Reimplemented from TBranch.

Definition at line 69 of file TBranchSTL.h.

Referenced by Print(), and TBranchSTL().

TClass* TBranchSTL::fIndArrayCl

Parent of this branch.

Definition at line 70 of file TBranchSTL.h.

Referenced by FillLeaves(), and TBranchSTL().

TIndArray TBranchSTL::fInd

Class of the ind array.

Definition at line 71 of file TBranchSTL.h.

Referenced by Fill(), FillLeaves(), and GetEntry().

TString TBranchSTL::fContName

Indices.

Definition at line 72 of file TBranchSTL.h.

Referenced by GetEntry(), and TBranchSTL().

TString TBranchSTL::fClassName

Definition at line 73 of file TBranchSTL.h.

Referenced by GetClassName(), GetInfo(), and TBranchSTL().

Int_t TBranchSTL::fClassVersion [mutable]

Definition at line 74 of file TBranchSTL.h.

Referenced by GetInfo(), and TBranchSTL().

UInt_t TBranchSTL::fClCheckSum

Definition at line 75 of file TBranchSTL.h.

Referenced by GetInfo(), and TBranchSTL().

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().

Int_t TBranchSTL::fID

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

Branch map.

Definition at line 65 of file TBranchSTL.h.

TVirtualCollectionProxy* TBranchSTL::fCollProxy

Branch vector.

Definition at line 68 of file TBranchSTL.h.

TBranch* TBranchSTL::fParent

Collection proxy.

Reimplemented from TBranch.

Definition at line 69 of file TBranchSTL.h.

TClass* TBranchSTL::fIndArrayCl

Parent of this branch.

Definition at line 70 of file TBranchSTL.h.

TStreamerInfo* TBranchSTL::fInfo [mutable]

Definition at line 76 of file TBranchSTL.h.

char* TBranchSTL::fObject

The streamer info.

Definition at line 77 of file TBranchSTL.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:34:56 2011 for ROOT_528-00b_version by  doxygen 1.5.1