]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONVDataIterator.h
Updated list of MUON libraries
[u/mrichter/AliRoot.git] / MUON / AliMUONVDataIterator.h
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice                               */
3
4 // $Id$
5
6 /// \ingroup calib
7 /// \class AliMUONVDataIterator
8 /// \brief Defines an interface of an iterator over muon data structure(s)
9 /// 
10 //  Author Laurent Aphecetche
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:
22   AliMUONVDataIterator();
23   virtual ~AliMUONVDataIterator();
24   
25   /// Return next object in the iteration.
26   /// To know if the client must delete that object, use
27   /// the IsOwner() method
28   virtual TObject* Next() = 0;
29   
30   /// Reset (i.e. Rewind) the iterator
31   virtual void Reset() = 0; 
32   
33   /// Remove the current item (might not be implemented yet)
34   virtual Bool_t Remove() = 0;
35   
36   /// Whether or not the objects returned by this iterator are to be deleted
37   virtual Bool_t IsOwner() const = 0;
38   
39   ClassDef(AliMUONVDataIterator,0) // Interface for an iterator on AliMUONData.
40 };
41
42 #endif