Main Page | Class Hierarchy | Class List | File List | Class Members

function.h

00001 /* ************************************************************************* 00002 function.h - description 00003 ------------------- 00004 begin : Wed Oct 16 2002 00005 copyright : (C) 2002 by Micha Riser 00006 email : mriser@gmx.net 00007 00008 $Id: function_8h-source.html,v 1.1 2005/02/04 21:02:26 micha Exp $ 00009 00010 ************************************************************************* */ 00011 00012 /* ************************************************************************* 00013 * * 00014 * This program is free software; you can redistribute it and/or modify * 00015 * it under the terms of the GNU General Public License as published by * 00016 * the Free Software Foundation; either version 2 of the License, or * 00017 * (at your option) any later version. * 00018 * * 00019 ************************************************************************* */ 00020 00021 #ifndef FUNCTION_H 00022 #define FUNCTION_H 00023 00028 template <class Domain, class Range> class Function { 00029 public: // Constructor and destructor 00030 Function() {} 00031 virtual ~Function() {} 00032 00033 public: // Pure virtual methods 00036 virtual Range evaluateAt(const Domain&) const = 0; 00037 }; 00038 00039 #endif

Generated on Thu Jan 27 12:16:05 2005 for raytracer.kdevelop by doxygen 1.3.8