SFrame 3.6
core/include/SPointer.h
Go to the documentation of this file.
00001 // Dear emacs, this is -*- c++ -*-
00002 // $Id: SPointer.h 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_H
00015 #define SFRAME_CORE_SPOINTER_H
00016 
00017 // ROOT include(s):
00018 #include <TObject.h>
00019 
00036 template< class T >
00037 class SPointer : public TObject {
00038 
00039 public:
00041    SPointer( T* object );
00043    ~SPointer();
00044 
00045 private:
00047    T* m_object;
00048 
00049 }; // class SPointer
00050 
00051 #ifndef __CINT__
00052 #include "SPointer.icc"
00053 #endif
00054 
00055 #endif // SFRAME_CORE_SPOINTER_H