AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUON2DMapIteratorByI.h
Go to the documentation of this file.
1 #ifndef ALIMUON2DMAPITERATORBYI_H
2 #define ALIMUON2DMAPITERATORBYI_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 
13 // Author Laurent Aphecetche
14 
15 #ifndef ROOT_TIterator
16 # include "TIterator.h"
17 #endif
18 
19 class AliMpExMap;
20 class AliMpExMapIterator;
21 
22 //_____________________________________________________________________________
23 class AliMUON2DMapIteratorByI : public TIterator
24 {
25 public:
26  AliMUON2DMapIteratorByI(const AliMpExMap& theMap,
27  Int_t firstI, Int_t lastI);
28 
29  virtual ~AliMUON2DMapIteratorByI();
30 
32  virtual TObject* Next();
33 
34  virtual void Reset();
35 
36  virtual const TCollection* GetCollection() const;
37 
38 private:
40 
41 private:
47  AliMUON2DMapIteratorByI& operator=(const TIterator& rhs);
48 
49  const AliMpExMap* fkMap;
51  TIterator* fIter2;
52  Int_t fFirstI;
53  Int_t fLastI;
54  Int_t fCurrentI;
55 
56  ClassDef(AliMUON2DMapIteratorByI,0) // VDataIterator for 2D maps
57 };
58 
59 
60 #endif
virtual const TCollection * GetCollection() const
const AliMpExMap * fkMap
Top map we iterate upon.
TIterator * fIter2
second iterator
AliMUON2DMapIteratorByI & operator=(const AliMUON2DMapIteratorByI &rhs)
Not implemented.
Int_t fLastI
end of range for I
Implementation of TIterator for 2D maps.
AliMpExMapIterator * NextIterator()
AliMpExMapIterator * fIter1
first iterator
Int_t fCurrentI
current value of I
virtual TObject * Next()
The returned object must not be deleted by the user.
AliMUON2DMapIteratorByI(const AliMpExMap &theMap, Int_t firstI, Int_t lastI)
Implementation of TIterator for AliMpExMap.
Int_t fFirstI
start of range for I
Helper class making Root persistent TExMap.
Definition: AliMpExMap.h:28