#ifndef ROOT_TSortedList
#define ROOT_TSortedList
#ifndef ROOT_TList
#include "TList.h"
#endif
class TSortedList : public TList {
public:
TSortedList(Bool_t order = kSortAscending) { fAscending = order; }
void Add(TObject *obj);
void Add(TObject *obj, Option_t *opt);
Bool_t IsSorted() const { return kTRUE; }
void AddFirst(TObject *obj) { Add(obj); }
void AddFirst(TObject *obj, Option_t *opt) { Add(obj, opt); }
void AddLast(TObject *obj) { Add(obj); }
void AddLast(TObject *obj, Option_t *opt) { Add(obj, opt); }
void AddAt(TObject *obj, Int_t) { Add(obj); }
void AddAfter(const TObject *, TObject *obj) { Add(obj); }
void AddAfter(TObjLink *, TObject *obj) { Add(obj); }
void AddBefore(const TObject *, TObject *obj) { Add(obj); }
void AddBefore(TObjLink *, TObject *obj) { Add(obj); }
void Sort(Bool_t = kSortAscending) { }
ClassDef(TSortedList,0)
};
#endif
Last change: Wed Jun 25 08:53:10 2008
Last generated: 2008-06-25 08:53
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.