53 virtual void SetTitle(
const char *title=
"");
#define ClassDefOverride(name, id)
The TNamed class is the base class for all named ROOT classes.
Bool_t IsSortable() const override
virtual void FillBuffer(char *&buffer)
Encode TNamed into output buffer.
TObject * Clone(const char *newname="") const override
Make a clone of an object using the Streamer facility.
TNamed(const char *name, const char *title)
void Copy(TObject &named) const override
Copy this to obj.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual ~TNamed()
TNamed destructor.
const char * GetName() const override
Returns name of object.
const char * GetTitle() const override
Returns title of object.
TNamed(const TString &name, const TString &title)
void Print(Option_t *option="") const override
Print TNamed name and title.
void Clear(Option_t *option="") override
Set name and title to empty strings ("").
virtual void SetName(const char *name)
Set the name of the TNamed.
ULong_t Hash() const override
Return hash value for this object.
Int_t Compare(const TObject *obj) const override
Compare two TNamed objects.
virtual Int_t Sizeof() const
Return size of the TNamed part of the TObject.
TNamed & operator=(const TNamed &rhs)
TNamed assignment operator.
void ls(Option_t *option="") const override
List TNamed name and title.
virtual void SetNameTitle(const char *name, const char *title)
Set all the TNamed parameters (name and title).
Mother of all ROOT objects.
UInt_t Hash(ECaseCompare cmp=kExact) const
Return hash value.