class TExMapIter


TExMap

This class stores a (key,value) pair using an external hash.
The (key,value) are Long_t's and therefore can contain object
pointers or any longs. The map uses an open addressing hashing
method (linear probing).


Function Members (Methods)

public:
TExMapIter(const TExMap* map)
TExMapIter(const TExMapIter& tei)
virtual~TExMapIter()
static TClass*Class()
const TExMap*GetCollection() const
virtual TClass*IsA() const
Bool_tNext(Long_t& key, Long_t& value)
Bool_tNext(ULong_t& hash, Long_t& key, Long_t& value)
TExMapIter&operator=(const TExMapIter&)
voidReset()
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

private:
Int_tfCursor
const TExMap*fMap

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TExMapIter(const TExMap *map)
 Create TExMap iterator.
TExMapIter & operator=(const TExMapIter& )
 Overloaded assignment operator.
Bool_t Next(ULong_t& hash, Long_t& key, Long_t& value)
 Get next entry from TExMap. Returns kFALSE at end of map.
Bool_t Next(Long_t& key, Long_t& value)
 Get next entry from TExMap. Returns kFALSE at end of map.
TExMapIter(const TExMap *map)
virtual ~TExMapIter()
{ }
const TExMap * GetCollection()
{ return fMap; }
void Reset()
{ fCursor = 0; }

Author: Fons Rademakers 26/05/99
Last change: root/cont:$Id: TExMap.h 20882 2007-11-19 11:31:26Z rdm $
Last generated: 2008-06-25 08:38
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *

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.