67 b.WriteFastArray(
object->ClassName(),
n+1);
75 object->SetUniqueID(123456789);
78 else fClass->Destructor(
object);
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);
154 fClass->Destructor(
object);
164 Warning(
"ReadBasket",
"%s::Streamer not available, using TClass::ReadBuffer instead",
fClass->GetName());
172 if (
object->GetUniqueID() == 123456789) {
173 fClass->Destructor(
object);
197 if (R__v > 3 || R__v == 2) {
232 if (
fBranch->GetListOfBranches()->GetEntriesFast())
return false;
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.
virtual void SetAddress(void *add)
Set address of this branch.
Buffer base class used for serializing objects.
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.
TLeaf(const TLeaf &)
Copy constructor.
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.
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.
TObject()
TObject constructor.
@ kInvalidObject
if object ctor succeeded but object should not be used