THashTableIter
class description - source file - inheritance tree
private:
THashTableIter THashTableIter()
Int_t NextSlot()
public:
THashTableIter THashTableIter(const THashTable* ht, Bool_t dir = kIterForward)
THashTableIter THashTableIter(const THashTableIter& iter)
virtual void ~THashTableIter()
TClass* Class()
virtual const TCollection* GetCollection() const
virtual TClass* IsA() const
virtual TObject* Next()
virtual TIterator& operator=(const TIterator& rhs)
THashTableIter& operator=(const THashTableIter& rhs)
virtual void Reset()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
private:
const THashTable* fTable hash table being iterated
Int_t fCursor current position in table
TListIter* fListCursor current position in collision list
Bool_t fDirection iteration direction
THashTable
THashTable implements a hash table to store TObject's. The hash
value is calculated using the value returned by the TObject's
Hash() function. Each class inheriting from TObject can override
Hash() as it sees fit.
THashTable does not preserve the insertion order of the objects.
If the insertion order is important AND fast retrieval is needed
use THashList instead.
/*
*/
THashTableIter(const THashTable *ht, Bool_t dir)
Create a hashtable iterator. By default the iteration direction
is kIterForward. To go backward use kIterBackward.
THashTableIter(const THashTableIter &iter)
Copy ctor.
~THashTableIter()
Delete hashtable iterator.
TObject* Next()
Return next object in hashtable. Returns 0 when no more objects in table.
Int_t NextSlot()
Returns index of next slot in table containing list to be iterated.
void Reset()
Reset the hashtable iterator. Either to beginning or end, depending on
the initial iteration direction.
Inline Functions
THashTableIter THashTableIter(const THashTableIter& iter)
TIterator& operator=(const TIterator& rhs)
THashTableIter& operator=(const THashTableIter& rhs)
const TCollection* GetCollection() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
Author: Fons Rademakers 27/09/95
Last update: 2.23/07 27/10/99 10.47.27 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *
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.