12 #ifndef ROOT_TLeafObject
13 #define ROOT_TLeafObject
28 #ifndef ROOT_TClassRef
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
Address of Pointer to object.
A TLeaf for a general object derived from TObject.
Buffer base class used for serializing objects.
TMethodCall * GetMethodCall(const char *name)
Returns pointer to method corresponding to name.
const char * GetTypeName() const
Returns name of leaf type.
virtual void ReadBasket(TBuffer &b)
Read leaf elements from Basket input buffer.
Method or function calling interface.
virtual void * GetValuePointer() const
void ** fObjAddress
pointer to class
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.
TClass * GetClass() const
TObject * GetObject() const
Mother of all ROOT objects.
TClassRef is used to implement a permanent reference to a TClass object.
virtual void SetVirtual(Bool_t virt=kTRUE)
A TTree is a list of TBranches.
virtual void PrintValue(Int_t i=0) const
Prints leaf value.