ROOT » CORE » CONT » TExMapIter

class TExMapIter


TExMap

This class stores a (key,value) pair using an external hash.
The (key,value) are Long64_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:
virtual~TExMapIter()
static TClass*Class()
const TExMap*GetCollection() const
virtual TClass*IsA() const
Bool_tNext(Long64_t& key, Long64_t& value)
Bool_tNext(ULong64_t& hash, Long64_t& key, Long64_t& value)
TExMapIter&operator=(const TExMapIter&)
voidReset()
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TExMapIter(const TExMap* map)
TExMapIter(const TExMapIter& tei)

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(ULong64_t& hash, Long64_t& key, Long64_t& value)
 Get next entry from TExMap. Returns kFALSE at end of map.
Bool_t Next(Long64_t& key, Long64_t& value)
 Get next entry from TExMap. Returns kFALSE at end of map.
TExMapIter(const TExMap* map)
virtual ~TExMapIter()
{ }
const TExMap * GetCollection() const
{ return fMap; }
void Reset()
{ fCursor = 0; }