]>
Commit | Line | Data |
---|---|---|
70b4a8d6 | 1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
2 | * See cxx source for full Copyright notice */ | |
3 | ||
4 | // $Id$ | |
5 | ||
a103943f | 6 | /// \ingroup calib |
70b4a8d6 | 7 | /// \class AliMUONVDataIterator |
13985652 | 8 | /// \brief Defines an interface of an iterator over muon data structure(s) |
70b4a8d6 | 9 | /// |
13985652 | 10 | // Author Laurent Aphecetche |
70b4a8d6 | 11 | |
12 | #ifndef ALIMUONVDATAITERATOR_H | |
13 | #define ALIMUONVDATAITERATOR_H | |
14 | ||
15 | #ifndef ROOT_TObject | |
16 | # include "TObject.h" | |
17 | #endif | |
18 | ||
19 | class AliMUONVDataIterator : public TObject | |
20 | { | |
21 | public: | |
85fec35d | 22 | AliMUONVDataIterator(); |
70b4a8d6 | 23 | virtual ~AliMUONVDataIterator(); |
24 | ||
a103943f | 25 | /// Return next object in the iteration. |
26 | /// To know if the client must delete that object, use | |
27 | /// the IsOwner() method | |
70b4a8d6 | 28 | virtual TObject* Next() = 0; |
29 | ||
a103943f | 30 | /// Reset (i.e. Rewind) the iterator |
70b4a8d6 | 31 | virtual void Reset() = 0; |
32 | ||
a103943f | 33 | /// Remove the current item (might not be implemented yet) |
70b4a8d6 | 34 | virtual Bool_t Remove() = 0; |
35 | ||
a103943f | 36 | /// Whether or not the objects returned by this iterator are to be deleted |
37 | virtual Bool_t IsOwner() const = 0; | |
38 | ||
70b4a8d6 | 39 | ClassDef(AliMUONVDataIterator,0) // Interface for an iterator on AliMUONData. |
40 | }; | |
41 | ||
42 | #endif |