48 if(0 == strlen(
name))
return 0;
73 if(0 == targetLink)
return kFALSE;
77 if(0 == beforeLink)
return kFALSE;
108 if(0 == targetLink)
return kFALSE;
112 if(0 == afterLink)
return kFALSE;
122 if(afterLink ==
fLast) {
A RooList is a TList with extra support for working with options that are associated with each node.
TObjOptLink * findLink(const char *name, const char *caller=0) const
Find the link corresponding to the named object in this 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...
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...
TObjLinkPtr_t NewOptLink(TObject *obj, Option_t *opt, const TObjLinkPtr_t &prev=nullptr)
Return a new TObjOptLink (a TObjLink that also stores the option).
virtual TObject * Remove(TObject *obj)
Remove object from the list.
virtual void AddFirst(TObject *obj)
Add object at the beginning of the list.
TObjLinkPtr_t fLast
pointer to first entry in linked list
virtual TObjLink * FirstLink() const
virtual void AddLast(TObject *obj)
Add object at the end of the list.
Wrapper around a TObject so it can be stored in a TList.
TObject * GetObject() const
Option_t * GetOption() const
Mother of all ROOT objects.
virtual const char * GetName() const
Returns name of object.
const char * Data() const