12#ifndef ROOT_TLeafElement
13#define ROOT_TLeafElement
#define ClassDef(name, id)
A Branch for the case of an object.
A TTree is a list of TBranches.
Buffer base class used for serializing objects.
A TLeaf for the general case when using the branches created via a TStreamerInfo (i....
virtual bool ReadBasketSerialized(TBuffer &, Long64_t)
T GetTypedValueSubArray(Int_t i=0, Int_t j=0) const
TMethodCall * GetMethodCall(const char *name)
Returns pointer to method corresponding to name name is a string with the general form "method(list o...
char * fAbsAddress
! Absolute leaf Address
std::atomic< DeserializeType > fDeserializeTypeCache
! Cache of the type of deserialization.
virtual const char * GetTypeName() const
virtual Int_t GetMaximum() const
virtual ~TLeafElement()
Default destructor for a LeafObject.
virtual void SetLeafCount(TLeaf *leaf)
Set the leaf count of this leaf.
virtual Bool_t IsOnTerminalBranch() const
Return true if this leaf is does not have any sub-branch/leaf.
virtual void PrintValue(Int_t i=0) const
virtual DeserializeType GetDeserializeType() const
Determine if this TLeafElement supports bulk IO.
virtual LongDouble_t GetValueLongDouble(Int_t i=0) const
virtual Int_t GetOffsetHeaderSize() const
std::atomic< EDataType > fDataTypeCache
! Cache of the EDataType of deserialization.
virtual Int_t * GenerateOffsetArrayBase(Int_t, Int_t)
virtual Bool_t IncludeRange(TLeaf *)
Copy/set fMinimum and fMaximum to include/be wide than those of the parameter.
virtual void * GetValuePointer() const
Int_t fID
element serial number in fInfo
virtual Long64_t GetValueLong64(Int_t i=0) const
virtual Double_t GetValue(Int_t i=0) const
virtual Int_t GetLen() const
Return the number of effective elements of this leaf, for the current entry.
virtual Int_t GetNdata() const
virtual Bool_t CanGenerateOffsetArray()
virtual bool ReadBasketFast(TBuffer &, Long64_t)
Deserialize N events from an input buffer.
TLeafElement()
Default constructor for LeafObject.
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
Int_t fLenType
Number of bytes for this data type.
Int_t fLen
Number of fixed length elements in the leaf's data.
TBranch * fBranch
! Pointer to supporting branch (we do not own the branch)
TLeaf * fLeafCount
Pointer to Leaf count if variable length (we do not own the counter)
Method or function calling interface.