library: libCore
#include "TExMap.h"

TExMapIter


class description - header file - source file
viewCVS header - viewCVS source

class TExMapIter

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
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:
const TExMap*fMap
Int_tfCursor

Class Description

                                                                      
 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).                                             
                                                                      

TExMapIter(const TExMap *map)
 Create TExMap iterator.
TExMapIter & operator=(const TExMapIter &rhs)
 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 update: root/cont:$Name: $:$Id: TExMap.cxx,v 1.13 2006/07/26 13:36:42 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.