|
ROOT
Reference Guide |
|
Go to the documentation of this file.
48 #ifdef R__LESS_INCLUDES
156 Error(
"ReadValue",
"Not implemented!");
virtual Bool_t IsUnsigned() const
Using a TBrowser one can browse all ROOT objects.
virtual TLeaf * GetLeafCounter(Int_t &countval) const
Return a pointer to the counter of this leaf (if any) or store the number of elements that the leaf c...
virtual void PrintValue(Int_t i=0) const
virtual Long64_t GetValueLong64(Int_t i=0) const
virtual void SetRange(Bool_t range=kTRUE)
virtual const Counts_t * GetLeafCountValues(Long64_t start, Long64_t len)
If this branch is a branch count, return the set of collection size for the entry range requested sta...
std::vector< Int_t > Counts_t
static T Exec(const TLeaf *leaf, Int_t i=0)
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual const char * GetTypeName() const
virtual void Import(TClonesArray *, Int_t)
virtual void SetLen(Int_t len=1)
virtual LongDouble_t GetValueLongDouble(Int_t i=0) const
virtual Int_t GetOffsetHeaderSize() const
virtual void SetAddress(void *add=0)
virtual Double_t GetValue(Int_t i=0) const
virtual Int_t * GenerateOffsetArray(Int_t base, Int_t events)
static LongDouble_t Exec(const TLeaf *leaf, Int_t i=0)
Buffer base class used for serializing objects.
virtual TString GetFullName() const
Return the full name (including the parent's branch names) of the leaf.
virtual Int_t GetLenType() const
virtual Int_t GetOffset() const
Int_t * GenerateOffsetArrayBase(Int_t base, Int_t events) const
If the class supports it, generate an offset array base.
Long64_t fStartEntry
! entry number of corresponding to element 0 of the vector.
virtual Bool_t IncludeRange(TLeaf *)
Int_t fLenType
Number of bytes for this data type.
A TTree is a list of TBranches.
virtual void SetBranch(TBranch *branch)
virtual void Export(TClonesArray *, Int_t)
virtual bool ReadBasketFast(TBuffer &, Long64_t)
virtual void FillBasket(TBuffer &b)
Pack leaf elements in Basket output buffer.
@ kNewValue
Set if we own the value buffer and so must delete it ourselves.
virtual DeserializeType GetDeserializeType() const
static Long64_t Exec(const TLeaf *leaf, Int_t i=0)
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
virtual TLeaf * GetLeafCount() const
If this leaf stores a variable-sized array or a multi-dimensional array whose last dimension has vari...
Int_t fLen
Number of fixed length elements in the leaf's data.
LeafCountValues * fLeafCountValues
! Cache of collection/array sizes
The TNamed class is the base class for all named ROOT classes.
@ kIndirectAddress
Data member is a pointer to an array of basic types.
virtual void SetLeafCount(TLeaf *leaf)
Set the leaf count of this leaf.
virtual bool ReadBasketSerialized(TBuffer &, Long64_t)
virtual Bool_t IsRange() const
Bool_t fIsRange
(=kTRUE if leaf has a range, kFALSE otherwise). This is equivalent to being a 'leafcount'....
virtual Bool_t CanGenerateOffsetArray()
Bool_t fIsUnsigned
(=kTRUE if unsigned, kFALSE otherwise)
virtual void SetOffset(Int_t offset=0)
virtual void * GetValuePointer() const
Int_t ResetAddress(void *add, Bool_t destructor=kFALSE)
Helper routine for TLeafX::SetAddress.
Int_t fOffset
Offset in ClonesArray object (if one)
virtual Int_t GetLenStatic() const
Return the fixed length of this leaf.
static ULong64_t Exec(const TLeaf *leaf, Int_t i=0)
Int_t fNdata
! Number of elements in fAddress data buffer.
virtual Int_t GetLen() const
Return the number of effective elements of this leaf, for the current entry.
unsigned long long ULong64_t
TBranch * GetBranch() const
virtual Int_t GetMaximum() const
virtual Int_t GetMinimum() const
virtual void ReadBasketExport(TBuffer &, TClonesArray *, Int_t)
#define ClassDef(name, id)
virtual void ReadBasket(TBuffer &)
TLeaf * fLeafCount
Pointer to Leaf count if variable length (we do not own the counter)
TLeaf & operator=(const TLeaf &)
Assignment operator.
virtual void ReadValue(std::istream &, Char_t=' ')
virtual void SetUnsigned()
virtual void Browse(TBrowser *b)
Browse the content of this leaf.
An array of clone (identical) objects.
T GetTypedValue(Int_t i=0) const
virtual Int_t GetNdata() const
TBranch * fBranch
! Pointer to supporting branch (we do not own the branch)
virtual Bool_t IsOnTerminalBranch() const
virtual ~TLeaf()
Destructor.