THashTable


class description - source file - inheritance tree

class THashTable : public TCollection

    private:
Int_t GetHashValue(TString& s) const Int_t GetHashValue(const char* str) const Int_t GetHashValue(const TObject* obj) const public:
THashTable(Int_t capacity = TCollection::kInitHashTableCapacity, Int_t rehash = 0) virtual ~THashTable() virtual void Add(TObject* obj) Float_t AverageCollisions() const static TClass* Class() virtual void Clear(Option_t* option) Int_t Collisions(const char* name) const Int_t Collisions(TObject* obj) const virtual void Delete(Option_t* option) virtual TObject* FindObject(const char* name) const virtual TObject* FindObject(const TObject* obj) const virtual TObject** GetObjectRef(const TObject* obj) const virtual Int_t GetSize() const virtual TClass* IsA() const virtual TIterator* MakeIterator(Bool_t dir = kIterForward) const void Rehash(Int_t newCapacity, Bool_t checkObjValidity = kTRUE) virtual TObject* Remove(TObject* obj) TObject* RemoveSlow(TObject* obj) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
TList** fCont Hash table (table of lists) Int_t fEntries Number of objects in table Int_t fUsedSlots Number of used slots Int_t fRehashLevel Average collision rate which triggers rehash

Class Description



Last update: Fri May 14 13:32:39 2004


ROOT page - Class index - Top of the page

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.