Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

CTBgrab.hxx

Go to the documentation of this file.
00001 #ifndef _CTBgrab_HXX
00002 #define _CTBgrab_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 CTBgrab {
00018   public:
00019     void            Construct(T* p_dst, T& src) const;
00020     void            Destruct(T& dst, T* p_src) const;
00021     void            Move(T* p_dst, T* p_src) const;
00022     void            Swap(T& v1, T& v2) const;
00023     void            operator()(T& dst, T& src) const;
00024 };
00025 
00026 //##############################################################################
00027 
00028 template <class T>
00029 class CTBgrabable {
00030   public:
00031     void            Construct(T* p_dst, T& src) const;
00032     void            Destruct(T& dst, T* p_src) const;
00033     void            Move(T* p_dst, T* p_src) const;
00034     void            Swap(T& v1, T& v2) const;
00035     void            operator()(T& dst, T& src) const;
00036 };
00037 
00038 //
00039 // the implementation is fully inlined and always included here
00040 //
00041 #include "CTBgrab.icc"
00042 
00043 #endif

Generated at Fri Oct 24 18:11:28 2003 for CTBbase by doxygen1.2.9-20010812 written by Dimitri van Heesch, © 1997-2001