12#ifndef ROOT_TSortedList
13#define ROOT_TSortedList
#define ClassDefOverride(name, id)
const Bool_t kSortAscending
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.
Mother of all ROOT objects.
A sorted doubly linked list.
void AddFirst(TObject *obj) override
Add object at the beginning of the list.
void AddBefore(TObjLink *, TObject *obj) override
Insert object before the specified ObjLink object.
void AddBefore(const TObject *, TObject *obj) override
Insert object before object before in the list.
void AddAfter(TObjLink *, TObject *obj) override
Insert object after the specified ObjLink object.
void Add(TObject *obj) override
Add object in sorted list.
void AddFirst(TObject *obj, Option_t *opt) override
Add object at the beginning of the list and also store option.
void AddLast(TObject *obj, Option_t *opt) override
Add object at the end of the list and also store option.
TSortedList(Bool_t order=kSortAscending)
void AddLast(TObject *obj) override
Add object at the end of the list.
void AddAt(TObject *obj, Int_t) override
Insert object at position idx in the list.
void AddAfter(const TObject *, TObject *obj) override
Insert object after object after in the list.
Bool_t IsSorted() const override
void Sort(Bool_t=kSortAscending) override
Sort linked list.