42#ifndef ROOTCONVERSIONS_TCONVERTINGBRANCHELEMENT_H
43#define ROOTCONVERSIONS_TCONVERTINGBRANCHELEMENT_H
48# pragma clang diagnostic push
49# if __has_warning("-Wformat-pedantic")
50# pragma clang diagnostic ignored "-Wformat-pedantic"
53#include "TBranchElement.h"
55# pragma clang diagnostic pop
67 :
public TBranchElement
99 virtual Int_t
GetEntry(Long64_t entry, Int_t getall);
108 virtual void Streamer(TBuffer& R__b);
Int_t fConvOrigType
Saved branch list. If we change.
void ReadLeavesMemberBranchCountConverting(TBuffer &b)
virtual void SetAddress(void *add)
Set the address of the object to use for I/O.
TConvertingBranchElement()
Constructor.
TVirtualConverter * fConv
bool fConvDontReset
True if we're doing a container.
virtual void ResetAddress()
Reset branch addresses and maybe delete the object.
virtual void Streamer(TBuffer &R__b)
Read or write this object.
virtual Int_t GetEntry(Long64_t entry, Int_t getall)
Read all branches into the previously-declared object.
TConvertingBranchElement & operator=(const TConvertingBranchElement &)
If true, try to delete the.
static void SetDoDel(bool flag)
Set the deletion flag.
TConvertingBranchElement(const TConvertingBranchElement &)
void ConvResetType()
Recursively reset the type field of containers in conversions.
bool fConvContainerFlag
Saved branch type. The original.
TClass * fConvClass
Conversion for this branch.
static std::atomic< bool > fgDoDel
Flag that the next read should.
static void * new_TConvertingBranchElement(void *p)
new() method for this object.
static constexpr unsigned int kIsDummy
Flag used to mark dummy nodes created by BuildConvertedElisions.
char * fConvObject
Class for conversion.
void ReadLeavesCollectionConverting(TBuffer &b)
Read leaves into I/O buffers for this branch.
virtual ~TConvertingBranchElement()
Destructor.
static void Initialize()
Set up to allow for conversions in split mode.
Int_t ReadSubBranches(Long64_t entry, Int_t getall, bool dont_reset)
@branch Read in the subbranches of this branch.
virtual void InitializeOffsets()
Initialize data member offsets.
virtual void InitInfo()
Initialize the TStreamerInfo pointer.
void CheckForConversion()
Check to see if we need to worry about conversions for this branch.
void BuildConvertedElisions()
Add dummy nodes if needed to recover the correct tree structure.
TObjArray * fConvOrigBranches
Pointer to tmp obj used for conversion.
Base class for converters for Root schema evolution.
bool add(const std::string &hname, TKey *tobj)