+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * *
+ * Author: The ALICE Off-line Project. *
+ * Contributors are mentioned in the code where appropriate. *
+ * *
+ * Permission to use, copy, modify and distribute this software and its *
+ * documentation strictly for non-commercial purposes is hereby granted *
+ * without fee, provided that the above copyright notice appears in all *
+ * copies and that both the copyright notice and this permission notice *
+ * appear in the supporting documentation. The authors make no claims *
+ * about the suitability of this software for any purpose. It is *
+ * provided "as is" without express or implied warranty. *
+ **************************************************************************/
+
// $Id$
+// $MpId: AliMpPadIteratorPtr.cxx,v 1.7 2006/05/24 13:58:29 ivana Exp $
// Category: basic
-//
+
+//-----------------------------------------------------------------------------
// Class AliMpPadIteratorPtr
// --------------------------
// Pointer to the virtual pad iterator;
//
// Included in AliRoot: 2003/05/02
// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
+//-----------------------------------------------------------------------------
#include "AliMpPadIteratorPtr.h"
#include "AliMpVPadIterator.h"
+/// \cond CLASSIMP
ClassImp(AliMpPadIteratorPtr)
+/// \endcond
//_____________________________________________________________________________
AliMpPadIteratorPtr::AliMpPadIteratorPtr(AliMpVPadIterator* it)
: fIterator(it)
-{}
-
-//_____________________________________________________________________________
-AliMpPadIteratorPtr::AliMpPadIteratorPtr(const AliMpPadIteratorPtr& right)
- : TObject(right) {
-//
- Fatal("AliMpPadIteratorPtr", "Copy constructor not provided.");
-}
-
-//_____________________________________________________________________________
-AliMpPadIteratorPtr::~AliMpPadIteratorPtr() {
-//
- delete fIterator;
+{
+/// Standard constructor
}
-// operators
-
//_____________________________________________________________________________
-AliMpPadIteratorPtr&
-AliMpPadIteratorPtr::operator=(const AliMpPadIteratorPtr& right)
+AliMpPadIteratorPtr::~AliMpPadIteratorPtr()
{
- // check assignement to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignement operator not provided.");
-
- return *this;
-}
+/// Destructor
+ delete fIterator;
+}