66 if (newname && strlen(newname)) named->
SetName(newname);
76 if (
this == obj)
return 0;
105 if (opt && strstr(opt,
"noaddr")) {
virtual const char * GetTitle() const
Returns title of object.
virtual void FillBuffer(char *&buffer) const
Copy string into I/O buffer.
virtual void SetName(const char *name)
Change (i.e.
virtual void FillBuffer(char *&buffer)
Encode TNamed into output buffer.
virtual void SetNameTitle(const char *name, const char *title)
Change (i.e. set) all the TNamed parameters (name and title).
virtual void Clear(Option_t *option="")
Set name and title to empty strings ("").
virtual TObject * Clone(const char *newname="") const
Make a clone of an object using the Streamer facility.
The TNamed class is the base class for all named ROOT classes.
virtual void Copy(TObject &named) const
Copy this to obj.
TObject & operator=(const TObject &rhs)
TObject assignment operator.
virtual TObject * Clone(const char *newname="") const
Make a clone of an object using the Streamer facility.
virtual void ls(Option_t *option="") const
List TNamed name and title.
virtual Int_t Compare(const TObject *obj) const
Compare two TNamed objects.
virtual void Copy(TObject &object) const
Copy this to obj.
TNamed & operator=(const TNamed &rhs)
TNamed assignment operator.
Bool_t TestBit(UInt_t f) const
virtual const char * GetName() const
Returns name of object.
virtual void Print(Option_t *option="") const
Print TNamed name and title.
virtual const char * GetName() const
Returns name of object.
ClassImp(TNamed) TNamed
TNamed copy ctor.
virtual Int_t Sizeof() const
Return size of the TNamed part of the TObject.
Mother of all ROOT objects.
virtual Int_t Sizeof() const
Returns size string will occupy on I/O buffer.
static void IndentLevel()
Functions used by ls() to indent an object hierarchy.
virtual void SetTitle(const char *title="")
Change (i.e. set) the title of the TNamed.
int CompareTo(const char *cs, ECaseCompare cmp=kExact) const
Compare a string to char *cs2.