12 #ifndef ROOT_TLeafObject 13 #define ROOT_TLeafObject TClass * GetClass() const
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
Bool_t IsOnTerminalBranch() const
Return true if this leaf is does not have any sub-branch/leaf.
Bool_t fVirtual
Support for polymorphism, when set classname is written with object.
TObject * GetObject() const
A TLeaf for a general object derived from TObject.
Buffer base class used for serializing objects.
TClassRef fClass
! pointer to class
#define ClassDef(name, id)
TMethodCall * GetMethodCall(const char *name)
Returns pointer to method corresponding to name.
virtual void * GetValuePointer() const
virtual void ReadBasket(TBuffer &b)
Read leaf elements from Basket input buffer.
Method or function calling interface.
void ** fObjAddress
! Address of Pointer to object
virtual void SetAddress(void *add=0)
Set leaf buffer data address.
virtual ~TLeafObject()
Default destructor for a LeafObject.
The ROOT global object gROOT contains a list of all defined classes.
virtual void FillBasket(TBuffer &b)
Pack leaf elements in Basket output buffer.
virtual Bool_t Notify()
This method must be overridden to handle object notifcation.
virtual void PrintValue(Int_t i=0) const
Prints leaf value.
const char * GetTypeName() const
Returns name of leaf type.
Mother of all ROOT objects.
TLeafObject()
Default constructor for LeafObject.
TClassRef is used to implement a permanent reference to a TClass object.
virtual void SetVirtual(Bool_t virt=kTRUE)
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
A TTree is a list of TBranches.