Code for MUON Station1 (I.Hrivnacova)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpVPadIterator.h
CommitLineData
5f91c9e8 1// $Id$
2// Category: basic
3//
4// Class AliMpVPadIterator
5// -----------------------
6// Abstract base class, which defines an iterator over pads
7//
8// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
9
10#ifndef ALI_MP_VPAD_ITERATOR_H
11#define ALI_MP_VPAD_ITERATOR_H
12
13#include <TObject.h>
14
15#include "AliMpPad.h"
16
17class AliMpVPadIterator : public TObject
18{
19 public:
20 AliMpVPadIterator();
21 AliMpVPadIterator(const AliMpVPadIterator& right);
22 virtual ~AliMpVPadIterator();
23
24 // operators
25 AliMpVPadIterator& operator = (const AliMpVPadIterator& right);
26
27 // methods
28 virtual void First() = 0;
29 virtual void Next() = 0;
30 virtual Bool_t IsDone() const = 0;
31 virtual AliMpPad CurrentItem() const = 0;
32 virtual void Invalidate() = 0;
33
34 ClassDef(AliMpVPadIterator,1) // abstract pad iterator
35};
36
37#endif // ALI_MP_V_PAD_ITERATOR_H