#include <THashTable.h>
Inheritance diagram for THashTable:
Definition at line 39 of file THashTable.h.
THashTable::THashTable | ( | const THashTable & | ) | [private] |
Referenced by Rehash().
THashTable::~THashTable | ( | ) | [virtual] |
THashTable::THashTable | ( | const THashTable & | ) | [private] |
virtual THashTable::~THashTable | ( | ) | [virtual] |
Definition at line 90 of file THashTable.h.
References TCollection::fSize, and i.
Referenced by Add(), Collisions(), FindObject(), GetListForObject(), GetObjectRef(), and Remove().
Int_t THashTable::GetHashValue | ( | const char * | str | ) | const [inline, private] |
THashTable& THashTable::operator= | ( | const THashTable & | ) | [private] |
void THashTable::Add | ( | TObject * | obj | ) | [virtual] |
Implements TCollection.
Definition at line 81 of file THashTable.cxx.
References TList::Add(), AverageCollisions(), fCont, fEntries, fRehashLevel, fUsedSlots, GetHashValue(), TCollection::IsArgNull(), and Rehash().
Referenced by TMap::Add(), THashList::AddAfter(), THashList::AddAt(), THashList::AddBefore(), THashList::AddFirst(), THashList::AddLast(), TRootBrowserLite::ExecuteDefaultAction(), TGFontPool::GetFont(), TGFontPool::GetFontFamilies(), TGGCPool::GetGC(), TGPicturePool::GetPicture(), TGHtml::GetUid(), TGFontPool::GetUid(), TClass::Init(), TPluginManager::LoadHandlersFromPluginDirs(), TQSlotPool::New(), TGGC::operator=(), TASImage::ReadImage(), THtml::TFileSysDir::Recurse(), Rehash(), TGGC::SetAttributes(), Test_THashTable(), and TGGC::TGGC().
void THashTable::AddAll | ( | const TCollection * | col | ) | [virtual] |
Reimplemented from TCollection.
Definition at line 101 of file THashTable.cxx.
References TCollection::AddAll(), AverageCollisions(), fEntries, fRehashLevel, TCollection::fSize, TCollection::GetEntries(), and Rehash().
Float_t THashTable::AverageCollisions | ( | ) | const [inline] |
Definition at line 82 of file THashTable.h.
References fEntries, and fUsedSlots.
Referenced by Add(), AddAll(), THashList::AverageCollisions(), TMap::AverageCollisions(), Rehash(), and Test_THashTable().
void THashTable::Clear | ( | Option_t * | option = "" |
) | [virtual] |
Implements TCollection.
Definition at line 128 of file THashTable.cxx.
References TList::Clear(), fCont, fEntries, TCollection::fSize, fUsedSlots, i, TCollection::IsOwner(), SafeDelete, and TCollection::SetOwner().
Referenced by THashList::Clear(), THashList::Delete(), Rehash(), ~THashTable(), and TQSlotPool::~TQSlotPool().
Int_t THashTable::Collisions | ( | const char * | name | ) | const |
Definition at line 149 of file THashTable.cxx.
References fCont, GetHashValue(), and TCollection::GetSize().
Referenced by TMap::Collisions().
Definition at line 161 of file THashTable.cxx.
References fCont, GetHashValue(), TCollection::GetSize(), and TCollection::IsArgNull().
void THashTable::Delete | ( | Option_t * | option = "" |
) | [virtual] |
Implements TCollection.
Definition at line 174 of file THashTable.cxx.
References fCont, fEntries, TCollection::fSize, fUsedSlots, i, and SafeDelete.
Referenced by TMap::Clear(), TMap::Delete(), TMap::DeleteAll(), TMap::DeleteValues(), TRootBrowserLite::ProcessMessage(), Test_THashTable(), and TGPicturePool::~TGPicturePool().
TObject * THashTable::FindObject | ( | const char * | name | ) | const [virtual] |
Reimplemented from TCollection.
Definition at line 189 of file THashTable.cxx.
References fCont, TList::FindObject(), and GetHashValue().
Referenced by TRootIconBox::AddObjItem(), TMap::DeleteEntry(), TRootBrowserLite::ExecuteDefaultAction(), TGGCPool::FindGC(), THashList::FindObject(), TMap::FindObject(), TGGCPool::ForceFreeGC(), TGFontPool::FreeFont(), TGGCPool::FreeGC(), TGPicturePool::FreePicture(), TGFontPool::GetFont(), TGFontPool::GetFontFamilies(), TGPicturePool::GetPicture(), TGHtml::GetUid(), TGFontPool::GetUid(), TMap::GetValue(), TPluginManager::LoadHandlersFromPluginDirs(), TQSlotPool::New(), TASImage::ReadImage(), TMap::Remove(), THashList::Remove(), and TMap::RemoveEntry().
Reimplemented from TCollection.
Definition at line 200 of file THashTable.cxx.
References fCont, TList::FindObject(), GetHashValue(), and TCollection::IsArgNull().
TList * THashTable::GetListForObject | ( | const char * | name | ) | const |
Definition at line 212 of file THashTable.cxx.
References fCont, and GetHashValue().
Referenced by THtml::TPathDefinition::GetFileNameFromInclude(), THashList::GetListForObject(), TClass::Init(), THtml::TFileDefinition::MatchFileSysName(), and TClass::~TClass().
Definition at line 222 of file THashTable.cxx.
References fCont, GetHashValue(), and TCollection::IsArgNull().
Implements TCollection.
Definition at line 233 of file THashTable.cxx.
References fCont, GetHashValue(), TList::GetObjectRef(), and TCollection::IsArgNull().
Referenced by TMap::GetObjectRef().
Int_t THashTable::GetRehashLevel | ( | ) | const [inline] |
Int_t THashTable::GetSize | ( | ) | const [inline, virtual] |
Reimplemented from TCollection.
Definition at line 72 of file THashTable.h.
References fEntries.
Referenced by Remove(), RemoveSlow(), and Test_THashTable().
TIterator * THashTable::MakeIterator | ( | Bool_t | dir = kIterForward |
) | const [virtual] |
Definition at line 253 of file THashTable.cxx.
References Add(), AverageCollisions(), Clear(), fCont, fEntries, fRehashLevel, TCollection::fSize, fUsedSlots, TObject::GetObjectStat(), gObjectTable, int, TObjectTable::PtrIsValid(), and THashTable().
Referenced by Add(), AddAll(), THashList::Rehash(), TMap::Rehash(), and Test_THashTable().
Implements TCollection.
Definition at line 295 of file THashTable.cxx.
References fCont, fEntries, fUsedSlots, GetHashValue(), GetSize(), TList::Remove(), and SafeDelete.
Referenced by THashList::Delete(), TMap::DeleteEntry(), TGGCPool::ForceFreeGC(), TQSlotPool::Free(), TGFontPool::FreeFont(), TGGCPool::FreeGC(), TGPicturePool::FreePicture(), TMap::Remove(), THashList::Remove(), TMap::RemoveEntry(), RemoveSlow(), and TClass::~TClass().
Definition at line 315 of file THashTable.cxx.
References fCont, fEntries, TCollection::fSize, fUsedSlots, GetSize(), i, Remove(), and SafeDelete.
Referenced by THashList::RecursiveRemove().
void THashTable::SetRehashLevel | ( | Int_t | rehash | ) | [inline] |
Int_t THashTable::GetHashValue | ( | const char * | str | ) | const [inline, private] |
THashTable& THashTable::operator= | ( | const THashTable & | ) | [private] |
void THashTable::Add | ( | TObject * | obj | ) | [virtual] |
Implements TCollection.
virtual void THashTable::AddAll | ( | const TCollection * | col | ) | [virtual] |
Reimplemented from TCollection.
Float_t THashTable::AverageCollisions | ( | ) | const |
void THashTable::Clear | ( | Option_t * | option = "" |
) | [virtual] |
Implements TCollection.
Int_t THashTable::Collisions | ( | const char * | name | ) | const |
void THashTable::Delete | ( | Option_t * | option = "" |
) | [virtual] |
Implements TCollection.
TObject* THashTable::FindObject | ( | const char * | name | ) | const [virtual] |
Reimplemented from TCollection.
Reimplemented from TCollection.
TList* THashTable::GetListForObject | ( | const char * | name | ) | const |
Implements TCollection.
Int_t THashTable::GetRehashLevel | ( | ) | const [inline] |
Int_t THashTable::GetSize | ( | ) | const [inline, virtual] |
TIterator* THashTable::MakeIterator | ( | Bool_t | dir = kIterForward |
) | const [virtual] |
Implements TCollection.
Implements TCollection.
void THashTable::SetRehashLevel | ( | Int_t | rehash | ) | [inline] |
THashTableIter [friend] |
TList** THashTable::fCont [private] |
Definition at line 44 of file THashTable.h.
Referenced by Add(), Clear(), Collisions(), Delete(), FindObject(), GetListForObject(), GetObjectRef(), THashTableIter::Next(), THashTableIter::NextSlot(), Rehash(), Remove(), RemoveSlow(), and ~THashTable().
Int_t THashTable::fEntries [private] |
Definition at line 45 of file THashTable.h.
Referenced by Add(), AddAll(), AverageCollisions(), Clear(), Delete(), GetSize(), Rehash(), Remove(), and RemoveSlow().
Int_t THashTable::fUsedSlots [private] |
Definition at line 46 of file THashTable.h.
Referenced by Add(), AverageCollisions(), Clear(), Delete(), Rehash(), Remove(), and RemoveSlow().
Int_t THashTable::fRehashLevel [private] |
Definition at line 47 of file THashTable.h.
Referenced by Add(), AddAll(), GetRehashLevel(), Rehash(), and SetRehashLevel().
TList** THashTable::fCont [private] |
Definition at line 44 of file THashTable.h.