]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUON1DMapIterator.h
effc++ warnings
[u/mrichter/AliRoot.git] / MUON / AliMUON1DMapIterator.h
CommitLineData
83c386fb 1#ifndef ALIMUON1DMAPITERATOR_H
2#define ALIMUON1DMAPITERATOR_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5* See cxx source for full Copyright notice */
6
7// $Id$
8
46df088d 9/// \ingroup core
83c386fb 10/// \class AliMUON1DMapIterator
cb6388d5 11/// \brief Implementation of TIterator for 1D maps
83c386fb 12///
13// Author Laurent Aphecetche
14
15#ifndef ROOT_TObject
16# include "TObject.h"
17#endif
18#ifndef ROOT_TExMap
19# include "TExMap.h"
20#endif
cb6388d5 21#ifndef ROOT_TIterator
22# include "TIterator.h"
83c386fb 23#endif
24
25class AliMpExMap;
26
27//_____________________________________________________________________________
cb6388d5 28class AliMUON1DMapIterator : public TIterator
83c386fb 29{
30public:
7332f213 31 AliMUON1DMapIterator(const AliMpExMap& theMap);
cb6388d5 32 AliMUON1DMapIterator(const AliMUON1DMapIterator&);
33 AliMUON1DMapIterator& operator=(const AliMUON1DMapIterator& rhs);
34 TIterator& operator=(const TIterator& iterator);
83c386fb 35 virtual ~AliMUON1DMapIterator();
36
cb6388d5 37 /** The returned object must not be deleted by the user ! */
83c386fb 38 virtual TObject* Next();
39
40 virtual void Reset();
41
cb6388d5 42 /// Return 0 as we're not really dealing with a TCollection
43 virtual const TCollection* GetCollection() const { return 0x0; }
a3d37091 44
83c386fb 45private:
7332f213 46 const AliMpExMap* fkMap; ///< Top map we iterate upon
47 Int_t fCurrentI; ///< Current position in fMap
83c386fb 48
49 ClassDef(AliMUON1DMapIterator,0) // VDataIterator for 1D maps
50};
51
52
53#endif