library: libCore
#include "TExMap.h"

TExMapIter


class description - source file - inheritance tree (.pdf)

class TExMapIter

Inheritance Chart:
TExMapIter

    public:
TExMapIter(const TExMap* map) TExMapIter(const TExMapIter&) virtual ~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

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


                 void ~TExMapIter()
        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(const TExMapIter&)


Author: Fons Rademakers 26/05/99
Last update: root/cont:$Name: $:$Id: TExMap.cxx,v 1.8 2005/02/01 14:43:57 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.