12#ifndef ROOT_TSeqCollection
13#define ROOT_TSeqCollection
#define ClassDefOverride(name, id)
Collection abstract base class.
virtual TObject * Remove(TObject *obj)=0
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
Mother of all ROOT objects.
Sequenceable collection abstract base class.
virtual TObject * After(const TObject *obj) const =0
virtual void RemoveLast()
virtual ~TSeqCollection()
virtual TObject * RemoveAt(Int_t idx)
static void QSort(TObject **a, TObject **b, Int_t first, Int_t last)
virtual void RemoveBefore(TObject *before)
virtual Int_t IndexOf(const TObject *obj) const
Return index of object in collection.
virtual void AddLast(TObject *obj)=0
virtual void AddBefore(const TObject *before, TObject *obj)=0
virtual void RemoveFirst()
virtual TObject * Before(const TObject *obj) const =0
virtual void AddAt(TObject *obj, Int_t idx)=0
virtual TObject * Last() const =0
virtual void AddAfter(const TObject *after, TObject *obj)=0
virtual void RemoveAfter(TObject *after)
virtual Bool_t IsSorted() const
static void QSort(TObject **a, Int_t first, Int_t last)
Sort array of TObject pointers using a quicksort algorithm.
virtual TObject * First() const =0
Long64_t Merge(TCollection *list)
Merge this collection with all collections coming in the input list.
virtual Int_t GetLast() const
Returns index of last object in collection.
static Int_t ObjCompare(TObject *a, TObject *b)
Compare to objects in the collection. Use member Compare() of object a.
virtual TObject * At(Int_t idx) const =0
virtual void AddFirst(TObject *obj)=0
void Add(TObject *obj) override