Warning, file /include/root/THashList.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_THashList
0013 #define ROOT_THashList
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029 #include "TList.h"
0030
0031 class THashTable;
0032
0033
0034 class THashList : public TList {
0035
0036 protected:
0037 THashTable *fTable;
0038
0039 private:
0040 THashList(const THashList&) = delete;
0041 THashList& operator=(const THashList&) = delete;
0042
0043 public:
0044 THashList(Int_t capacity=TCollection::kInitHashTableCapacity, Int_t rehash=0);
0045 THashList(TObject *parent, Int_t capacity=TCollection::kInitHashTableCapacity, Int_t rehash=0);
0046 virtual ~THashList();
0047 Float_t AverageCollisions() const;
0048 void Clear(Option_t *option="") override;
0049 void Delete(Option_t *option="") override;
0050
0051 TObject *FindObject(const char *name) const override;
0052 TObject *FindObject(const TObject *obj) const override;
0053
0054 const TList *GetListForObject(const char *name) const;
0055 const TList *GetListForObject(const TObject *obj) const;
0056
0057 void AddFirst(TObject *obj) override;
0058 void AddFirst(TObject *obj, Option_t *opt) override;
0059 void AddLast(TObject *obj) override;
0060 void AddLast(TObject *obj, Option_t *opt) override;
0061 void AddAt(TObject *obj, Int_t idx) override;
0062 void AddAfter(const TObject *after, TObject *obj) override;
0063 void AddAfter(TObjLink *after, TObject *obj) override;
0064 void AddBefore(const TObject *before, TObject *obj) override;
0065 void AddBefore(TObjLink *before, TObject *obj) override;
0066 void RecursiveRemove(TObject *obj) override;
0067 void Rehash(Int_t newCapacity);
0068 TObject *Remove(TObject *obj) override;
0069 TObject *Remove(TObjLink *lnk) override;
0070 bool UseRWLock(Bool_t enable = true) override;
0071
0072 ClassDefOverride(THashList,0)
0073 };
0074
0075 #endif