eoCloneOps.h

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: /cvsroot/eodev/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 
00043 template <class EOT>
00044 class eoMonCloneOp: public eoMonOp<EOT>
00045 {
00046 public:
00048   eoMonCloneOp() : eoMonOp<EOT>() {}
00049   virtual std::string className() const {return "eoMonCloneOp";}
00050   virtual bool operator()(EOT&){return false;}
00051 };
00052 
00053 
00056 template<class EOT>
00057 class eoBinCloneOp: public eoBinOp<EOT>
00058 {
00059 public:
00061   eoBinCloneOp() : eoBinOp<EOT>() {}
00062   virtual std::string className() const {return "eoBinCloneOp";}
00063   virtual bool operator()(EOT&, const EOT&){return false;}
00064 };
00065 
00068 template<class EOT>
00069 class eoQuadCloneOp: public eoQuadOp<EOT>
00070 {
00071 public:
00073   eoQuadCloneOp():eoQuadOp<EOT>() {}
00074   virtual std::string className() const {return "eoQuadCloneOp";}
00075 virtual bool operator()(EOT& , EOT& ) {return false;}
00076 };
00077 
00078 #endif
00079 

Generated on Thu Oct 19 05:06:34 2006 for EO by  doxygen 1.3.9.1