5f91c9e8 |
1 | // $Id$ |
2 | // Category: basic |
3 | // |
4 | // Class AliMpPadIteratorPtr |
5 | // -------------------------- |
6 | // Pointer to the virtual pad iterator; |
7 | // enables to allocate the virtual pad iterator on stack. |
8 | // Usage: |
9 | // MVIndexed* myIndexed = MyIndexed() |
10 | // MVIterator& it = *AliMpPadIteratorPtr(myIndexed->CreateIterator()); |
11 | // |
12 | // Authors: David Guez, Ivana Hrivnacova; IPN Orsay |
13 | |
14 | #include "AliMpPadIteratorPtr.h" |
15 | |
16 | ClassImp(AliMpPadIteratorPtr) |
17 | |
18 | AliMpPadIteratorPtr::AliMpPadIteratorPtr(AliMpVPadIterator* it) |
19 | : fIterator(it) |
20 | {} |
21 | |
22 | AliMpPadIteratorPtr::~AliMpPadIteratorPtr() { |
23 | // |
24 | delete fIterator; |
25 | } |
26 | |