00001 #ifndef _CTBcompare_HXX 00002 #define _CTBcompare_HXX 1 00003 00009 /*----------------------------------------------------------------------------*/ 00010 /* C Tool Box: Designed and implemented by: */ 00011 /* Walter F.J. Mueller Gesellschaft fuer Schwerionenforschung (GSI) */ 00012 /* Planckstrasse 1, D-64291 Darmstadt, Germany */ 00013 /* Email: W.F.J.Mueller@gsi.de */ 00014 /* WWW: http://www-kp3.gsi.de/www/kp3/people/mueller.html */ 00015 /*------------------------------------------+---------------------------------*/ 00016 00017 template <class T> 00018 class CTBcompareOper { 00019 public: 00020 int operator()(const T& v1, const T& v2); 00021 }; 00022 00023 //------------------------------------------+----------------------------------- 00024 00025 template <class T> 00026 class CTBcompareFunc { 00027 public: 00028 int operator()(const T& v1, const T& v2); 00029 }; 00030 00031 //------------------------------------------+----------------------------------- 00032 00033 template <class T> 00034 class CTBcompareIndOper { 00035 public: 00036 int operator()(const T& v1, const T& v2); 00037 }; 00038 00039 //------------------------------------------+----------------------------------- 00040 00041 template <class T> 00042 class CTBcompareIndFunc { 00043 public: 00044 int operator()(const T& v1, const T& v2); 00045 }; 00046 00047 // 00048 // the implementation is fully inlined and always included here 00049 // 00050 #include "CTBcompare.icc" 00051 00052 #endif
1.2.9-20010812 written by Dimitri van Heesch,
© 1997-2001