77 if (newname && strlen(newname)) named->
SetName(newname);
87 if (
this == obj)
return 0;
116 if (opt && strstr(opt,
"noaddr")) {
117 std::cout <<
"OBJ: " << IsA()->GetName() <<
"\t" <<
GetName() <<
"\t" <<
GetTitle() <<
" : " 120 std::cout <<
"OBJ: " << IsA()->GetName() <<
"\t" <<
GetName() <<
"\t" <<
GetTitle() <<
" : " 130 std::cout <<
"OBJ: " << IsA()->GetName() <<
"\t" <<
GetName() <<
"\t" <<
GetTitle() << std::endl;
virtual const char * GetName() const
Returns name of object.
void CallRecursiveRemoveIfNeeded(TObject &obj)
call RecursiveRemove for obj if gROOT is valid and obj.TestBit(kMustCleanup) is true.
virtual Int_t Compare(const TObject *obj) const
Compare two TNamed objects.
virtual void SetName(const char *name)
Set the name of the TNamed.
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
virtual Int_t Sizeof() const
Return size of the TNamed part of the TObject.
virtual void FillBuffer(char *&buffer)
Encode TNamed into output buffer.
virtual ~TNamed()
TNamed destructor.
virtual void SetNameTitle(const char *name, const char *title)
Set all the TNamed parameters (name and title).
if object in a list can be deleted
virtual void Clear(Option_t *option="")
Set name and title to empty strings ("").
virtual void Copy(TObject &object) const
Copy this to obj.
The TNamed class is the base class for all named ROOT classes.
TObject & operator=(const TObject &rhs)
TObject assignment operator.
virtual void Print(Option_t *option="") const
Print TNamed name and title.
virtual void ls(Option_t *option="") const
List TNamed name and title.
TNamed & operator=(const TNamed &rhs)
TNamed assignment operator.
static void IndentLevel()
Functions used by ls() to indent an object hierarchy.
if object destructor must call RecursiveRemove()
virtual Int_t Sizeof() const
Returns size string will occupy on I/O buffer.
int CompareTo(const char *cs, ECaseCompare cmp=kExact) const
Compare a string to char *cs2.
virtual TObject * Clone(const char *newname="") const
Make a clone of an object using the Streamer facility.
Mother of all ROOT objects.
virtual TObject * Clone(const char *newname="") const
Make a clone of an object using the Streamer facility.
virtual void Copy(TObject &named) const
Copy this to obj.
virtual void FillBuffer(char *&buffer) const
Copy string into I/O buffer.
virtual const char * GetName() const
Returns name of object.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual const char * GetTitle() const
Returns title of object.