void Add(ULong64_t hash, Long64_t key, Long64_t value)
Add an (key,value) pair to the table. The key should be unique.
void Remove(ULong64_t hash, Long64_t key)
Remove entry with specified key from the TExMap.
Int_t FindElement(ULong64_t hash, Long64_t key)
Find an entry with specified hash and key in the TExMap.
const TExMap * GetCollection() const
TExMapIter(const TExMap *map)
#define ClassDef(name, id)
void Add(Long64_t key, Long64_t value)
void SetHash(ULong64_t h)
void Remove(Long64_t key)
Long64_t GetValue(ULong64_t hash, Long64_t key)
Return the value belonging to specified key and hash value.
Long64_t & operator()(Long64_t key)
Long64_t & operator()(ULong64_t hash, Long64_t key)
Return a reference to the value belonging to the key with the specified hash value.
void Delete(Option_t *opt="")
Delete all entries stored in the TExMap.
TExMap & operator=(const TExMap &)
Assignment operator.
void FixCollisions(Int_t index)
Rehash the map in case an entry has been removed.
TExMapIter & operator=(const TExMapIter &)
Overloaded assignment operator.
unsigned long long ULong64_t
Mother of all ROOT objects.
Bool_t Next(ULong64_t &hash, Long64_t &key, Long64_t &value)
Get next entry from TExMap. Returns kFALSE at end of map.
Long64_t GetValue(Long64_t key)
TExMap(Int_t mapSize=100)
ULong64_t GetHash() const
This class stores a (key,value) pair using an external hash.
void Expand(Int_t newsize)
Expand the TExMap.
void AddAt(UInt_t slot, ULong64_t hash, Long64_t key, Long64_t value)
Add an (key,value) pair to the table.
TExMapIter(const TExMapIter &tei)