83 b.WriteFastArrayString(
fValue,len);
149 if ( (readbasket ==
GetBranch()->GetWriteBasket() && (entry+1) ==
GetBranch()->GetEntries())
151 (readbasket <
GetBranch()->GetWriteBasket() && (entry+1) ==
GetBranch()->GetBasketEntry()[readbasket+1] )
154 if ( entryOffset[entry-first] == basket->
GetLast() )
161 else if ( entryOffset[entry-first] == entryOffset[entry-first+1] )
201 std::getline(s, temp, delim);
int Int_t
Signed integer 4 bytes (int).
unsigned char UChar_t
Unsigned Character 1 byte (unsigned char).
char Char_t
Character 1 byte (char).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
long long Long64_t
Portable signed long integer 8 bytes.
Manages buffers for branches of a Tree.
A TTree is a list of TBranches.
TBasket * GetBasket(Int_t basket)
Long64_t GetReadEntry() const
Int_t GetReadBasket() const
Long64_t * GetBasketEntry() const
Buffer base class used for serializing objects.
void * GetValuePointer() const override
Int_t fMinimum
Minimum value if leaf range is specified.
TLeafC()
Default constructor for LeafC.
Int_t fMaximum
Maximum value if leaf range is specified.
void PrintValue(Int_t i=0) const override
Prints leaf value.
void ReadBasket(TBuffer &b) override
Read leaf elements from Basket input buffer.
void Import(TClonesArray *list, Int_t n) override
Import element from ClonesArray into local leaf buffer.
Char_t * fValue
! Pointer to data buffer
bool IncludeRange(TLeaf *) override
Copy/set fMinimum and fMaximum to include/be wide than those of the parameter.
const char * GetTypeName() const override
Returns name of leaf type.
Char_t ** fPointer
! Address of pointer to data buffer
void Export(TClonesArray *list, Int_t n) override
Export element from local leaf buffer to ClonesArray.
void ReadBasketExport(TBuffer &b, TClonesArray *list, Int_t n) override
Read leaf elements from Basket input buffer and export buffer to TClonesArray objects.
void FillBasket(TBuffer &b) override
Pack leaf elements in Basket output buffer.
void SetAddress(void *add=nullptr) override
Set leaf buffer data address.
void ReadValue(std::istream &s, Char_t delim=' ') override
Read a string from std::istream s up to delimiter and store it into the branch buffer.
virtual void SetMinimum(Int_t min)
virtual void SetMaximum(Int_t max)
~TLeafC() override
Default destructor for a LeafC.
TLeaf(const TLeaf &)
Copy constructor.
Int_t fLenType
Number of bytes for this data type.
virtual Int_t GetMaximum() const
Int_t fLen
Number of fixed length elements in the leaf's data.
Int_t fNdata
! Number of elements in fAddress data buffer.
Int_t ResetAddress(void *add, bool calledFromDestructor=false)
Helper routine for TLeafX::SetAddress.
TBranch * GetBranch() const
Int_t fOffset
Offset in ClonesArray object (if one).
virtual Int_t GetMinimum() const
bool fIsUnsigned
(=true if unsigned, false otherwise)
TLeaf * fLeafCount
Pointer to Leaf count if variable length (we do not own the counter).
@ kNewValue
Set if we own the value buffer and so must delete it ourselves.
@ kIndirectAddress
Data member is a pointer to an array of basic types.
friend class TClonesArray
Bool_t TestBit(UInt_t f) const