00001 // -*- Mode: c++ -*-
00002 //
00003 // SUMMARY:
00004 // USAGE:
00005 //
00006 // ORG: Christophe Prud'homme
00007 // AUTHOR: Christophe Prud'homme
00008 // E-MAIL: prudhomm@users.sourceforge.net
00009 //
00010 // DESCRIPTION:
00011 /*
00012 This program is free software; you can redistribute it and/or modify
00013 it under the terms of the GNU General Public License as published by
00014 the Free Software Foundation; either version 2 of the License, or
00015 (at your option) any later version.
00016
00017 This program is distributed in the hope that it will be useful,
00018 but WITHOUT ANY WARRANTY; without even the implied warranty of
00019 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00020 GNU General Public License for more details.
00021
00022 You should have received a copy of the GNU General Public License
00023 along with this program; if not, write to the Free Software
00024 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00025
00026 */
00027
00028 //
00029 // < description of the code here>
00030 //
00031 // DESCRIP-END.
00032 //
00033 #ifndef __function_H
00034 #ifdef __GNUG__
00035 #pragma interface
00036 #endif
00037 #define __function_H 1
00038
00039 #if defined(HAVE_CONFIG_H)
00040 #include <config.h>
00041 #endif /* HAVE_CONFIG_H */
00042
00043 #include <femTreeNode.hpp>
00044
00045 namespace fem
00046 {
00048 class function
00049 {
00050 public:
00065
00066
00068
00072
00073 function();
00074 function( function const& );
00075 ~function();
00076 function& operator=( function const& );
00077
00079
00080
00081
00082 private:
00083
00084 ident* __name;
00085 ident* __arg1;
00086 ident* __arg2;
00087 noeud* __def;
00088
00089
00090 };
00091 }
00092 #endif /* __function_H */