Adding comment lines to class description needed for Root documentation,
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpPadIteratorPtr.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  *                                                                        *
4  * Author: The ALICE Off-line Project.                                    *
5  * Contributors are mentioned in the code where appropriate.              *
6  *                                                                        *
7  * Permission to use, copy, modify and distribute this software and its   *
8  * documentation strictly for non-commercial purposes is hereby granted   *
9  * without fee, provided that the above copyright notice appears in all   *
10  * copies and that both the copyright notice and this permission notice   *
11  * appear in the supporting documentation. The authors make no claims     *
12  * about the suitability of this software for any purpose. It is          *
13  * provided "as is" without express or implied warranty.                  *
14  **************************************************************************/
15
16 // $Id$
17 // $MpId: AliMpPadIteratorPtr.cxx,v 1.7 2006/05/24 13:58:29 ivana Exp $
18 // Category: basic
19
20 //-----------------------------------------------------------------------------
21 // Class AliMpPadIteratorPtr
22 // --------------------------
23 // Pointer to the virtual pad iterator;
24 // enables to allocate the virtual pad iterator on stack.
25 // Usage:
26 // MVIndexed* myIndexed = MyIndexed()
27 // MVIterator& it = *AliMpPadIteratorPtr(myIndexed->CreateIterator());
28 //
29 // Included in AliRoot: 2003/05/02
30 // Authors: David Guez, Ivana Hrivnacova; IPN Orsay
31 //-----------------------------------------------------------------------------
32
33 #include "AliMpPadIteratorPtr.h"
34 #include "AliMpVPadIterator.h"
35
36 /// \cond CLASSIMP
37 ClassImp(AliMpPadIteratorPtr)
38 /// \endcond
39
40 //_____________________________________________________________________________
41 AliMpPadIteratorPtr::AliMpPadIteratorPtr(AliMpVPadIterator* it)
42   : fIterator(it)
43 {
44 /// Standard constructor
45 }
46
47 //_____________________________________________________________________________
48 AliMpPadIteratorPtr::~AliMpPadIteratorPtr() 
49 {
50 /// Destructor
51
52   delete fIterator;
53 }