SFrame 3.6
core/include/SPointer.icc
Go to the documentation of this file.
00001 // Dear emacs, this is -*- c++ -*-
00002 // $Id: SPointer.icc 120 2009-08-27 12:02:57Z krasznaa $
00003 /***************************************************************************
00004  * @Project: SFrame - ROOT-based analysis framework for ATLAS
00005  * @Package: Core
00006  *
00007  * @author Stefan Ask       <Stefan.Ask@cern.ch>           - Manchester
00008  * @author David Berge      <David.Berge@cern.ch>          - CERN
00009  * @author Johannes Haller  <Johannes.Haller@cern.ch>      - Hamburg
00010  * @author A. Krasznahorkay <Attila.Krasznahorkay@cern.ch> - CERN/Debrecen
00011  *
00012  ***************************************************************************/
00013 
00014 #ifndef SFRAME_CORE_SPOINTER_ICC
00015 #define SFRAME_CORE_SPOINTER_ICC
00016 
00024 template< class T >
00025 SPointer< T >::SPointer( T* object )
00026    : TObject(), m_object( object ) {
00027 
00028 }
00029 
00033 template< class T >
00034 SPointer< T >::~SPointer() {
00035 
00036    delete m_object;
00037 
00038 }
00039 
00040 #endif // SFRAME_CORE_SPOINTER_ICC