67 b.WriteFastArray(
object->ClassName(),
n+1);
75 object->SetUniqueID(123456789);
80 Error(
"FillBasket",
"Attempt to write a NULL object in leaf:%s",
GetName());
93 char *namecpy =
new char[strlen(
name)+1];
95 char *params = strchr(namecpy,
'(');
96 if (params) { *params = 0; params++; }
97 else params = (
char *)
")";
102 if (
m->GetMethod())
return m;
103 Error(
"GetMethodCall",
"Unknown method:%s",
name);
142 b.ReadFastArray(classname,
n+1);
164 Warning(
"ReadBasket",
"%s::Streamer not available, using TClass::ReadBuffer instead",
fClass->
GetName());
172 if (
object->GetUniqueID() == 123456789) {
197 if (R__v > 3 || R__v == 2) {
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
A TTree is a list of TBranches.
TObjArray * GetListOfBranches()
virtual void SetAddress(void *add)
Set address of this branch.
bool IsAutoDelete() const
Return true if an existing object in a TBranchObject must be deleted.
Buffer base class used for serializing objects.
void * New(ENewType defConstructor=kClassNew, Bool_t quiet=kFALSE) const
Return a pointer to a newly allocated object of this class.
void Destructor(void *obj, Bool_t dtorOnly=kFALSE)
Explicitly call destructor for object.
Long_t Property() const override
Returns the properties of the TClass as a bit field stored as a Long_t value.
Int_t ReadBuffer(TBuffer &b, void *pointer, Int_t version, UInt_t start, UInt_t count)
Function called by the Streamer functions to deserialize information from buffer b into object at p.
static TClass * GetClass(const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE)
Static method returning pointer to TClass of the specified class name.
A TLeaf for a general object derived from TObject.
void ReadBasket(TBuffer &b) override
Read leaf elements from Basket input buffer.
bool IsOnTerminalBranch() const override
Return true if this leaf is does not have any sub-branch/leaf.
void Streamer(TBuffer &) override
Stream an object of class TLeafObject.
void FillBasket(TBuffer &b) override
Pack leaf elements in Basket output buffer.
TLeafObject()
Default constructor for LeafObject.
TObject * GetObject() const
bool Notify() override
This method must be overridden to handle object notification.
bool fVirtual
Support for polymorphism, when set classname is written with object.
const char * GetTypeName() const override
Returns name of leaf type.
~TLeafObject() override
Default destructor for a LeafObject.
void PrintValue(Int_t i=0) const override
Prints leaf value.
void * GetValuePointer() const override
void ** fObjAddress
! Address of Pointer to object
TClassRef fClass
! pointer to class
void SetAddress(void *add=nullptr) override
Set leaf buffer data address.
TMethodCall * GetMethodCall(const char *name)
Returns pointer to method corresponding to name.
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
void Streamer(TBuffer &) override
Stream a class object.
TBranch * GetBranch() const
TBranch * fBranch
! Pointer to supporting branch (we do not own the branch)
Method or function calling interface.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
const char * GetName() const override
Returns name of object.
const char * GetTitle() const override
Returns title of object.
Int_t GetEntriesFast() const
Mother of all ROOT objects.
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
@ kInvalidObject
if object ctor succeeded but object should not be used
const char * Data() const