Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

TBranchElement Class Reference

#include <TBranchElement.h>

Inheritance diagram for TBranchElement:

Inheritance graph
[legend]
Collaboration diagram for TBranchElement:

Collaboration graph
[legend]
List of all members.

Public Methods

 TBranchElement ()
 TBranchElement (const char *name, TStreamerInfo *sinfo, Int_t id, char *pointer, Int_t basketsize=32000, Int_t splitlevel=0, Int_t btype=0)
 TBranchElement (const char *name, TClonesArray *clones, Int_t basketsize=32000, Int_t splitlevel=0, Int_t compress=-1)
virtual ~TBranchElement ()
virtual Int_t Branch (const char *folder, Int_t bufsize=32000, Int_t splitlevel=99)
virtual TBranchBranch (const char *name, void *address, const char *leaflist, Int_t bufsize=32000)
virtual TBranchBranch (const char *name, const char *classname, void *addobj, Int_t bufsize=32000, Int_t splitlevel=99)
virtual void Browse (TBrowser *b)
void BuildTitle (const char *name)
Int_t Fill ()
void FillLeaves (TBuffer &b)
TBranchElement * GetBranchCount () const
TBranchElement * GetBranchCount2 () const
virtual const char * GetClassName () const
virtual const char * GetClonesName () const
Int_t GetEntry (Int_t entry=0, Int_t getall=0)
const char * GetIconName () const
Int_t GetID () const
TStreamerInfoGetInfo ()
char * GetObject () const
virtual const char * GetParentName () const
virtual Int_t GetMaximum () const
Int_t GetNdata () const
Int_t GetType () const
Int_t GetStreamerType () const
virtual const char * GetTypeName () const
Double_t GetValue (Int_t i, Int_t len, Bool_t subarr=kFALSE) const
virtual void * GetValuePointer () const
Bool_t IsBranchFolder () const
Bool_t IsFolder () const
virtual Bool_t Notify ()
virtual void Print (Option_t *option="") const
void PrintValue (Int_t i) const
virtual void ReadLeaves (TBuffer &b)
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 SetBranchCount (TBranchElement *bre)
virtual void SetBranchCount2 (TBranchElement *bre)
virtual void SetBranchFolder ()
virtual void SetClassName (const char *name)
virtual void SetParentName (const char *name)
virtual void SetType (Int_t btype)
virtual Int_t Unroll (const char *name, TClass *cltop, TClass *cl, Int_t basketsize, Int_t splitlevel, Int_t btype)

Protected Types

enum  { kWarn = BIT(13), kBranchFolder = BIT(14), kDeleteObject = BIT(16) }

Protected Methods

Int_t GetDataMemberOffset (const TClass *cl, const char *name)
 Pointer to object for a master branch.


Protected Attributes

TString fClassName
TString fParentName
TString fClonesName
Int_t fClassVersion
Int_t fID
Int_t fType
Int_t fStreamerType
Int_t fMaximum
Int_t fNdata
TBranchElement * fBranchCount
 Number of data in this branch.

TBranchElement * fBranchCount2
TStreamerInfofInfo
char * fObject
 Pointer to StreamerInfo.

char * fBranchPointer
 Pointer to object at *fAddress.


Member Enumeration Documentation

anonymous enum [protected]
 

Enumeration values:
kWarn 
kBranchFolder 
kDeleteObject 

Definition at line 34 of file TBranchElement.h.


Constructor & Destructor Documentation

TBranchElement::TBranchElement  
 

TBranchElement::TBranchElement const char *    name,
TStreamerInfo   sinfo,
Int_t    id,
char *    pointer,
Int_t    basketsize = 32000,
Int_t    splitlevel = 0,
Int_t    btype = 0
 

TBranchElement::TBranchElement const char *    name,
TClonesArray   clones,
Int_t    basketsize = 32000,
Int_t    splitlevel = 0,
Int_t    compress = -1
 

virtual TBranchElement::~TBranchElement   [virtual]
 


Member Function Documentation

Int_t TBranchElement::GetDataMemberOffset const TClass   cl,
const char *    name
[protected]
 

Pointer to object for a master branch.

virtual Int_t TBranchElement::Branch const char *    folder,
Int_t    bufsize = 32000,
Int_t    splitlevel = 99
[virtual]
 

virtual TBranch* TBranchElement::Branch const char *    name,
void *    address,
const char *    leaflist,
Int_t    bufsize = 32000
[virtual]
 

virtual TBranch* TBranchElement::Branch const char *    name,
const char *    classname,
void *    addobj,
Int_t    bufsize = 32000,
Int_t    splitlevel = 99
[virtual]
 

virtual void TBranchElement::Browse TBrowser   b [virtual]
 

Reimplemented from TBranch.

void TBranchElement::BuildTitle const char *    name
 

Int_t TBranchElement::Fill   [virtual]
 

Reimplemented from TBranch.

void TBranchElement::FillLeaves TBuffer   b [virtual]
 

Reimplemented from TBranch.

TBranchElement* TBranchElement::GetBranchCount   const
 

Definition at line 66 of file TBranchElement.h.

TBranchElement* TBranchElement::GetBranchCount2   const
 

Definition at line 67 of file TBranchElement.h.

virtual const char* TBranchElement::GetClassName   const [virtual]
 

Reimplemented from TBranch.

Definition at line 68 of file TBranchElement.h.

References TString::Data().

virtual const char* TBranchElement::GetClonesName   const [virtual]
 

Definition at line 69 of file TBranchElement.h.

References TString::Data().

Int_t TBranchElement::GetEntry Int_t    entry = 0,
Int_t    getall = 0
[virtual]
 

Reimplemented from TBranch.

const char* TBranchElement::GetIconName   const [virtual]
 

Reimplemented from TBranch.

Int_t TBranchElement::GetID   const
 

Definition at line 72 of file TBranchElement.h.

References fID.

TStreamerInfo* TBranchElement::GetInfo  
 

char* TBranchElement::GetObject   const
 

Definition at line 74 of file TBranchElement.h.

References fObject.

virtual const char* TBranchElement::GetParentName   const [virtual]
 

Definition at line 75 of file TBranchElement.h.

References TString::Data().

virtual Int_t TBranchElement::GetMaximum   const [virtual]
 

Int_t TBranchElement::GetNdata   const
 

Definition at line 77 of file TBranchElement.h.

References fNdata.

Int_t TBranchElement::GetType   const
 

Definition at line 78 of file TBranchElement.h.

References fType.

Int_t TBranchElement::GetStreamerType   const
 

Definition at line 79 of file TBranchElement.h.

References fStreamerType.

virtual const char* TBranchElement::GetTypeName   const [virtual]
 

Double_t TBranchElement::GetValue Int_t    i,
Int_t    len,
Bool_t    subarr = kFALSE
const
 

virtual void* TBranchElement::GetValuePointer   const [virtual]
 

Bool_t TBranchElement::IsBranchFolder   const
 

Definition at line 83 of file TBranchElement.h.

References kBranchFolder, and TObject::TestBit().

Bool_t TBranchElement::IsFolder   const [virtual]
 

Reimplemented from TBranch.

virtual Bool_t TBranchElement::Notify   [virtual]
 

Reimplemented from TObject.

Definition at line 85 of file TBranchElement.h.

References TBranch::fAddress.

virtual void TBranchElement::Print Option_t *    option = "" const [virtual]
 

Reimplemented from TBranch.

void TBranchElement::PrintValue Int_t    i const
 

virtual void TBranchElement::ReadLeaves TBuffer   b [virtual]
 

Reimplemented from TBranch.

virtual void TBranchElement::Reset Option_t *    option = "" [virtual]
 

Reimplemented from TBranch.

virtual void TBranchElement::SetAddress void *    addobj [virtual]
 

Reimplemented from TBranch.

virtual void TBranchElement::SetAutoDelete Bool_t    autodel = kTRUE [virtual]
 

Reimplemented from TBranch.

virtual void TBranchElement::SetBasketSize Int_t    buffsize [virtual]
 

Reimplemented from TBranch.

virtual void TBranchElement::SetBranchCount TBranchElement *    bre [virtual]
 

virtual void TBranchElement::SetBranchCount2 TBranchElement *    bre [virtual]
 

Definition at line 94 of file TBranchElement.h.

virtual void TBranchElement::SetBranchFolder   [virtual]
 

Definition at line 95 of file TBranchElement.h.

References kBranchFolder, and TObject::SetBit().

virtual void TBranchElement::SetClassName const char *    name [virtual]
 

Definition at line 96 of file TBranchElement.h.

virtual void TBranchElement::SetParentName const char *    name [virtual]
 

Definition at line 97 of file TBranchElement.h.

virtual void TBranchElement::SetType Int_t    btype [virtual]
 

Definition at line 98 of file TBranchElement.h.

References fType.

virtual Int_t TBranchElement::Unroll const char *    name,
TClass   cltop,
TClass   cl,
Int_t    basketsize,
Int_t    splitlevel,
Int_t    btype
[virtual]
 


Member Data Documentation

TString TBranchElement::fClassName [protected]
 

Definition at line 36 of file TBranchElement.h.

TString TBranchElement::fParentName [protected]
 

Definition at line 37 of file TBranchElement.h.

TString TBranchElement::fClonesName [protected]
 

Definition at line 38 of file TBranchElement.h.

Int_t TBranchElement::fClassVersion [protected]
 

Definition at line 39 of file TBranchElement.h.

Int_t TBranchElement::fID [protected]
 

Definition at line 40 of file TBranchElement.h.

Referenced by GetID().

Int_t TBranchElement::fType [protected]
 

Definition at line 41 of file TBranchElement.h.

Referenced by GetType(), and SetType().

Int_t TBranchElement::fStreamerType [protected]
 

Definition at line 42 of file TBranchElement.h.

Referenced by GetStreamerType().

Int_t TBranchElement::fMaximum [protected]
 

Definition at line 43 of file TBranchElement.h.

Int_t TBranchElement::fNdata [protected]
 

Definition at line 44 of file TBranchElement.h.

Referenced by GetNdata().

TBranchElement* TBranchElement::fBranchCount [protected]
 

Number of data in this branch.

Definition at line 45 of file TBranchElement.h.

TBranchElement* TBranchElement::fBranchCount2 [protected]
 

Definition at line 46 of file TBranchElement.h.

TStreamerInfo* TBranchElement::fInfo [protected]
 

Definition at line 47 of file TBranchElement.h.

char* TBranchElement::fObject [protected]
 

Pointer to StreamerInfo.

Definition at line 48 of file TBranchElement.h.

Referenced by GetObject().

char* TBranchElement::fBranchPointer [protected]
 

Pointer to object at *fAddress.

Definition at line 49 of file TBranchElement.h.


The documentation for this class was generated from the following file:
Generated on Thu Dec 18 14:56:45 2003 for ROOT by doxygen1.2.16