00001 #ifndef _CTBclonedObjPtr_HXX 00002 #define _CTBclonedObjPtr_HXX 1 00003 00008 /*----------------------------------------------------------------------------*/ 00009 /* C Tool Box: Designed and implemented by: */ 00010 /* Walter F.J. Mueller Gesellschaft fuer Schwerionenforschung (GSI) */ 00011 /* Planckstrasse 1, D-64291 Darmstadt, Germany */ 00012 /* Email: W.F.J.Mueller@gsi.de */ 00013 /* WWW: http://www-kp3.gsi.de/www/kp3/people/mueller.html */ 00014 /*------------------------------------------+---------------------------------*/ 00015 00016 #include "CTBownedObjPtr.hxx" 00017 00018 template <class T> 00019 class CTBclonedObjPtr : public CTBownedObjPtr<T> { 00020 00021 public: 00022 CTBclonedObjPtr(); 00023 CTBclonedObjPtr(const CTBclonedObjPtr<T>& rhs); 00024 CTBclonedObjPtr(T* p); 00025 00026 CTBclonedObjPtr<T>& operator=(const CTBclonedObjPtr<T>& rhs); 00027 CTBclonedObjPtr<T>& operator=(T* rhs); 00028 }; 00029 00030 // Notes: 00031 // -- proofed: 12-may-1999(1) 00032 00033 // the implementation is fully inlined and always included here 00034 #include "CTBclonedObjPtr.icc" 00035 00036 #endif