EvolvingObjects
|
00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- 00002 //----------------------------------------------------------------------------- 00003 // eoCloneOps.h 00004 // (c) GeNeura Team, 1998 00005 /* 00006 This library is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU Lesser General Public 00008 License as published by the Free Software Foundation; either 00009 version 2 of the License, or (at your option) any later version. 00010 00011 This library is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 Lesser General Public License for more details. 00015 00016 You should have received a copy of the GNU Lesser General Public 00017 License along with this library; if not, write to the Free Software 00018 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 00020 Contact: todos@geneura.ugr.es, http://geneura.ugr.es 00021 CVS Info: $Date: 2003-02-27 19:26:09 $ $Header: /home/nojhan/dev/eodev/eodev_cvs/eo/src/eoCloneOps.h,v 1.2 2003-02-27 19:26:09 okoenig Exp $ $Author: okoenig $ 00022 */ 00023 //----------------------------------------------------------------------------- 00024 00025 #ifndef _eoCloneOps_H 00026 #define _eoCloneOps_H 00027 00028 #include <eoOp.h> 00029 00046 template <class EOT> 00047 class eoMonCloneOp: public eoMonOp<EOT> 00048 { 00049 public: 00051 eoMonCloneOp() : eoMonOp<EOT>() {} 00052 virtual std::string className() const {return "eoMonCloneOp";} 00053 virtual bool operator()(EOT&){return false;} 00054 }; 00055 00056 00059 template<class EOT> 00060 class eoBinCloneOp: public eoBinOp<EOT> 00061 { 00062 public: 00064 eoBinCloneOp() : eoBinOp<EOT>() {} 00065 virtual std::string className() const {return "eoBinCloneOp";} 00066 virtual bool operator()(EOT&, const EOT&){return false;} 00067 }; 00068 00071 template<class EOT> 00072 class eoQuadCloneOp: public eoQuadOp<EOT> 00073 { 00074 public: 00076 eoQuadCloneOp():eoQuadOp<EOT>() {} 00077 virtual std::string className() const {return "eoQuadCloneOp";} 00078 virtual bool operator()(EOT& , EOT& ) {return false;} 00079 }; 00080 00081 #endif 00082