33 if (!obj || !obj->IsA())
60 Error(
"CheckDuplicateName",
"object with name: %s already in the list",obj->
GetName());
65 Error(
"CheckDuplicateName",
"an object with the same name: %s is already in the list",obj->
GetName());
void AddFirst(TObject *obj)
Add object at the beginning of the list.
void AddAt(TObject *obj, Int_t idx)
Add to the list.
void AddLast(TObject *obj)
Add object at the end of the list.
void AddBefore(const TObject *before, TObject *obj)
Add to the list.
TObject * FindObject(const char *name) const
Find object using its name.
Bool_t CheckDuplicateName(TObject *obj)
Check for duplicate object names in the list.
Bool_t UnsetDirectory(TObject *obj)
Method or function calling interface.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
ClassImp(TSelectorList) Bool_t TSelectorList
If the class of obj has the SetDirectory(TDirectory*) method call it to unset the directory assiciati...
void AddFirst(TObject *obj)
Add at the start of the list.
void AddAt(TObject *obj, Int_t idx)
Insert object at location idx in the list.
void AddLast(TObject *obj)
Add at the end of the list.
void AddAfter(const TObject *after, TObject *obj)
Add to the list.
void AddAfter(const TObject *after, TObject *obj)
Insert object after object after in the list.
void InitWithPrototype(TClass *cl, const char *method, const char *proto, Bool_t objectIsConst=kFALSE, ROOT::EFunctionMatchMode mode=ROOT::kConversionMatch)
Initialize the method invocation environment.
virtual const char * GetName() const
Returns name of object.
Wrapper around a TObject so it can be stored in a TList.
void AddBefore(const TObject *before, TObject *obj)
Insert object before object before in the list.
#define org(otri, vertexptr)
Mother of all ROOT objects.
void Execute(const char *, const char *, int *=0)
Execute method on this object with the given parameter string, e.g.
A TList derived class that makes sure that objects added to it are not linked to the currently open f...
void SetParam(Long_t l)
Add a long method parameter.
Bool_t IsValid() const
Return true if the method call has been properly initialized and is usable.