35   if (!obj || !obj->
IsA())
 
   39   callEnv.InitWithPrototype(obj->
IsA(), 
"SetDirectory", 
"TDirectory*");
 
 
   62      Error(
"CheckDuplicateName",
"object with name: %s already in the list",obj->
GetName());
 
   67      Error(
"CheckDuplicateName",
"an object with the same name: %s is already in the list",obj->
GetName());
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
 
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 org
 
void AddBefore(const TObject *before, TObject *obj) override
Insert object before object before in the list.
 
void AddFirst(TObject *obj) override
Add object at the beginning of the list.
 
void AddAfter(const TObject *after, TObject *obj) override
Insert object after object after in the list.
 
void AddAt(TObject *obj, Int_t idx) override
Insert object at location idx in the list.
 
TObject * FindObject(const char *name) const override
Find object using its name.
 
void AddLast(TObject *obj) override
Add object at the end of the list.
 
Method or function calling interface.
 
Wrapper around a TObject so it can be stored in a TList.
 
Mother of all ROOT objects.
 
virtual const char * GetName() const
Returns name of object.
 
virtual TClass * IsA() const
 
A TList derived class that makes sure that objects added to it are not linked to the currently open f...
 
void AddBefore(const TObject *before, TObject *obj) override
Add to the list.
 
void AddFirst(TObject *obj) override
Add at the start of the list.
 
void AddAt(TObject *obj, Int_t idx) override
Add to the list.
 
void AddLast(TObject *obj) override
Add at the end of the list.
 
void AddAfter(const TObject *after, TObject *obj) override
Add to the list.
 
bool UnsetDirectory(TObject *obj)
If the class of obj has the SetDirectory(TDirectory*) method call it to unset the directory associati...
 
bool CheckDuplicateName(TObject *obj)
Check for duplicate object names in the list.