library: libCore #include "THashTable.h" |
THashTableIter
class description - header file - source file
viewCVS header - viewCVS source
class THashTableIter: public TIterator
Function Members (Methods)
Display options:
Data Members
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.
/*

*/
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.
Author: Fons Rademakers 27/09/95
Last update: root/cont:$Name: $:$Id: THashTable.cxx,v 1.14 2006/10/27 16:03:37 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - 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.