48 if(0 == strlen(name))
return 0;
73 if(0 == targetLink)
return kFALSE;
77 if(0 == beforeLink)
return kFALSE;
92 NewOptLink(obj, opt.Data(), beforeLink->
Prev());
108 if(0 == targetLink)
return kFALSE;
112 if(0 == afterLink)
return kFALSE;
122 if(afterLink == fLast) {
126 NewOptLink(obj, opt.Data(), afterLink);
virtual void AddFirst(TObject *obj)
Add object at the beginning of the list.
Option_t * GetOption() const
Bool_t moveAfter(const char *after, const char *target, const char *caller=0)
Move the target object immediately after the specified object, preserving any Option_t associated wit...
virtual void AddLast(TObject *obj)
Add object at the end of the list.
A RooList is a TList with extra support for working with options that are associated with each node...
Wrapper around a TObject so it can be stored in a TList.
Mother of all ROOT objects.
TObject * GetObject() const
TObjOptLink * findLink(const char *name, const char *caller=0) const
Find the link corresponding to the named object in this list.
Bool_t moveBefore(const char *before, const char *target, const char *caller=0)
Move the target object immediately before the specified object, preserving any Option_t associated wi...
virtual const char * GetName() const
Returns name of object.