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