00001 #ifndef _CTBclone_HXX 00002 #define _CTBclone_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 template <class T> 00017 class CTBclone { 00018 public: 00019 T* operator()(const T& src) const; 00020 }; 00021 00022 //############################################################################## 00023 00024 template <class T> 00025 class CTBcloneable { 00026 public: 00027 T* operator()(const T& src) const; 00028 }; 00029 00030 // 00031 // the implementation is fully inlined and always included here 00032 // 00033 #include "CTBclone.icc" 00034 00035 #endif