12 #ifndef ROOT_TSortedList 13 #define ROOT_TSortedList void AddLast(TObject *obj, Option_t *opt)
Add object at the end of the list and also store option.
void AddFirst(TObject *obj)
Add object at the beginning of the list.
void AddFirst(TObject *obj, Option_t *opt)
Add object at the beginning of the list and also store option.
void AddAfter(TObjLink *, TObject *obj)
Insert object after the specified ObjLink object.
void Sort(Bool_t=kSortAscending)
Sort linked list.
#define ClassDef(name, id)
A sorted doubly linked list.
void AddLast(TObject *obj)
Add object at the end of the list.
void AddBefore(TObjLink *, TObject *obj)
Insert object before the specified ObjLink object.
void AddAt(TObject *obj, Int_t)
Insert object at position idx in the list.
void AddBefore(const TObject *, TObject *obj)
Insert object before object before in the list.
TSortedList(Bool_t order=kSortAscending)
void AddAfter(const TObject *, TObject *obj)
Insert object after object after in the list.
Bool_t fAscending
cache to speedup sequential calling of Before() and After() functions
Wrapper around a TObject so it can be stored in a TList.
const Bool_t kSortAscending
Mother of all ROOT objects.
void Add(TObject *obj)
Add object in sorted list.