TMapIter
class description - source file - inheritance tree
private:
TMapIter TMapIter()
public:
TMapIter TMapIter(TMap* map, Bool_t dir = kIterForward)
TMapIter TMapIter(TMapIter& iter)
virtual void ~TMapIter()
TClass* Class()
virtual const TCollection* GetCollection()
virtual TClass* IsA()
virtual TObject* Next()
virtual TIterator& operator=(TIterator& rhs)
TMapIter& operator=(TMapIter& rhs)
virtual void Reset()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
private:
static const TMap* fMap map being iterated
THashTableIter* fCursor current position in map
Bool_t fDirection iteration direction
TMap
TMap implements an associative array of (key,value) pairs using a
THashTable for efficient retrieval (therefore TMap does not conserve
the order of the entries). The hash value is calculated
using the value returned by the keys Hash() function. Both key and
value need to inherit from TObject.
/*
*/
TMapIter(const TMap *m, Bool_t dir)
Create a map iterator. Use dir to specify the desired iteration direction.
TMapIter(const TMapIter &iter)
Copy ctor.
~TMapIter()
Map iterator dtor.
TObject* Next()
Returns the next key from a map. Use TMap::GetValue() to get the value
associated with the key. Returns 0 when no more items in map.
void Reset()
Reset the map iterator.
Inline Functions
TMapIter TMapIter(TMapIter& iter)
TIterator& operator=(TIterator& rhs)
TMapIter& operator=(TMapIter& rhs)
const TCollection* GetCollection()
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
Author: Fons Rademakers 12/11/95
Last update: 2.22/07 05/07/99 18.55.09 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *
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.