]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - MUON/AliMUON1DMapIterator.h
Adding missing comment
[u/mrichter/AliRoot.git] / MUON / AliMUON1DMapIterator.h
... / ...
CommitLineData
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
9/// \ingroup core
10/// \class AliMUON1DMapIterator
11/// \brief Implementation of TIterator for 1D maps
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
21#ifndef ROOT_TIterator
22# include "TIterator.h"
23#endif
24
25class AliMpExMap;
26
27//_____________________________________________________________________________
28class AliMUON1DMapIterator : public TIterator
29{
30public:
31 AliMUON1DMapIterator(AliMpExMap& theMap);
32 AliMUON1DMapIterator(const AliMUON1DMapIterator&);
33 AliMUON1DMapIterator& operator=(const AliMUON1DMapIterator& rhs);
34 TIterator& operator=(const TIterator& iterator);
35 virtual ~AliMUON1DMapIterator();
36
37 /** The returned object must not be deleted by the user ! */
38 virtual TObject* Next();
39
40 virtual void Reset();
41
42 /// Return 0 as we're not really dealing with a TCollection
43 virtual const TCollection* GetCollection() const { return 0x0; }
44
45private:
46 TExMapIter fIter; //!< iterator
47 Int_t fCurrentI; //!< current index in direction i
48
49 ClassDef(AliMUON1DMapIterator,0) // VDataIterator for 1D maps
50};
51
52
53#endif