47 if(0 == strlen(name))
return 0;
72 if(0 == targetLink)
return kFALSE;
76 if(0 == beforeLink)
return kFALSE;
91 NewOptLink(obj, opt.
Data(), beforeLink->
Prev());
107 if(0 == targetLink)
return kFALSE;
111 if(0 == afterLink)
return kFALSE;
121 if(afterLink == fLast) {
125 NewOptLink(obj, opt.
Data(), afterLink);
Option_t * GetOption() const
virtual void AddFirst(TObject *obj)
Add object at the beginning of the list.
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.
const char * Data() const
ClassImp(RooList) TObjOptLink *RooList TObjLink * link
Find the link corresponding to the named object in this list.
TObject * GetObject() const
virtual const char * GetName() const
Returns name of object.
Wrapper around a TObject so it can be stored in a TList.
Mother of all ROOT objects.
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...