TExMapIter


class description - source file - inheritance tree

class TExMapIter

    private:
protected:
public:
TExMapIter TExMapIter(const TExMap* map) TExMapIter TExMapIter(TExMapIter&) virtual void ~TExMapIter() static TClass* Class() const TExMap* GetCollection() const virtual TClass* IsA() const Bool_t Next(ULong_t& hash, Long_t& key, Long_t& value) Bool_t Next(Long_t& key, Long_t& value) void Reset() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

private:
const TExMap* fMap Int_t fCursor public:

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) : fMap(map), fCursor(0)
 Create TExMap iterator.

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.



Inline Functions


        const TExMap* GetCollection() const
                 void Reset()
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)
           TExMapIter TExMapIter(TExMapIter&)
                 void ~TExMapIter()


Author: Fons Rademakers 26/05/99
Last update: root/cont:$Name: $:$Id: TExMap.cxx,v 1.3 2001/05/21 12:44:00 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


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.