X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Ffunction.cpp;h=d85320663c64078d92339421e791b7d152f70977;hp=77aa3c6bc21411c2540cbb651c21236f2e807893;hb=9eab44408b9213d8909b7a9e525f404ad06064dd;hpb=a8507b8af1c08d9b27d98d57f95c7ca1a8671e27 diff --git a/ginac/function.cpp b/ginac/function.cpp index 77aa3c6b..d8532066 100644 --- a/ginac/function.cpp +++ b/ginac/function.cpp @@ -1,7 +1,8 @@ /** @file function.cpp * - * Implementation of class function. - * + * Implementation of class function. */ + +/* * This file was generated automatically by function.pl. * Please do not modify it directly, edit the perl script instead! * function.pl options: $maxargs=10 @@ -26,7 +27,11 @@ #include #include -#include "ginac.h" +#include "function.h" +#include "ex.h" +#include "debugmsg.h" + +namespace GiNaC { ////////// // default constructor, destructor, copy constructor assignment operator and helpers @@ -37,7 +42,7 @@ function::function() : serial(0) { debugmsg("function default constructor",LOGLEVEL_CONSTRUCT); - tinfo_key = TINFO_FUNCTION; + tinfo_key = TINFO_function; } function::~function() @@ -84,7 +89,7 @@ void function::destroy(bool call_parent) function::function(unsigned ser) : serial(ser) { debugmsg("function constructor from unsigned",LOGLEVEL_CONSTRUCT); - tinfo_key = TINFO_FUNCTION; + tinfo_key = TINFO_function; } // the following lines have been generated for max. 10 parameters @@ -92,61 +97,61 @@ function::function(unsigned ser, ex const & param1) : exprseq(param1), serial(ser) { debugmsg("function constructor from unsigned,1*ex",LOGLEVEL_CONSTRUCT); - tinfo_key = TINFO_FUNCTION; + tinfo_key = TINFO_function; } function::function(unsigned ser, ex const & param1, ex const & param2) : exprseq(param1, param2), serial(ser) { debugmsg("function constructor from unsigned,2*ex",LOGLEVEL_CONSTRUCT); - tinfo_key = TINFO_FUNCTION; + tinfo_key = TINFO_function; } function::function(unsigned ser, ex const & param1, ex const & param2, ex const & param3) : exprseq(param1, param2, param3), serial(ser) { debugmsg("function constructor from unsigned,3*ex",LOGLEVEL_CONSTRUCT); - tinfo_key = TINFO_FUNCTION; + tinfo_key = TINFO_function; } function::function(unsigned ser, ex const & param1, ex const & param2, ex const & param3, ex const & param4) : exprseq(param1, param2, param3, param4), serial(ser) { debugmsg("function constructor from unsigned,4*ex",LOGLEVEL_CONSTRUCT); - tinfo_key = TINFO_FUNCTION; + tinfo_key = TINFO_function; } function::function(unsigned ser, ex const & param1, ex const & param2, ex const & param3, ex const & param4, ex const & param5) : exprseq(param1, param2, param3, param4, param5), serial(ser) { debugmsg("function constructor from unsigned,5*ex",LOGLEVEL_CONSTRUCT); - tinfo_key = TINFO_FUNCTION; + tinfo_key = TINFO_function; } function::function(unsigned ser, ex const & param1, ex const & param2, ex const & param3, ex const & param4, ex const & param5, ex const & param6) : exprseq(param1, param2, param3, param4, param5, param6), serial(ser) { debugmsg("function constructor from unsigned,6*ex",LOGLEVEL_CONSTRUCT); - tinfo_key = TINFO_FUNCTION; + tinfo_key = TINFO_function; } function::function(unsigned ser, ex const & param1, ex const & param2, ex const & param3, ex const & param4, ex const & param5, ex const & param6, ex const & param7) : exprseq(param1, param2, param3, param4, param5, param6, param7), serial(ser) { debugmsg("function constructor from unsigned,7*ex",LOGLEVEL_CONSTRUCT); - tinfo_key = TINFO_FUNCTION; + tinfo_key = TINFO_function; } function::function(unsigned ser, ex const & param1, ex const & param2, ex const & param3, ex const & param4, ex const & param5, ex const & param6, ex const & param7, ex const & param8) : exprseq(param1, param2, param3, param4, param5, param6, param7, param8), serial(ser) { debugmsg("function constructor from unsigned,8*ex",LOGLEVEL_CONSTRUCT); - tinfo_key = TINFO_FUNCTION; + tinfo_key = TINFO_function; } function::function(unsigned ser, ex const & param1, ex const & param2, ex const & param3, ex const & param4, ex const & param5, ex const & param6, ex const & param7, ex const & param8, ex const & param9) : exprseq(param1, param2, param3, param4, param5, param6, param7, param8, param9), serial(ser) { debugmsg("function constructor from unsigned,9*ex",LOGLEVEL_CONSTRUCT); - tinfo_key = TINFO_FUNCTION; + tinfo_key = TINFO_function; } function::function(unsigned ser, ex const & param1, ex const & param2, ex const & param3, ex const & param4, ex const & param5, ex const & param6, ex const & param7, ex const & param8, ex const & param9, ex const & param10) : exprseq(param1, param2, param3, param4, param5, param6, param7, param8, param9, param10), serial(ser) { debugmsg("function constructor from unsigned,10*ex",LOGLEVEL_CONSTRUCT); - tinfo_key = TINFO_FUNCTION; + tinfo_key = TINFO_function; } // end of generated lines @@ -154,21 +159,21 @@ function::function(unsigned ser, ex const & param1, ex const & param2, ex const function::function(unsigned ser, exprseq const & es) : exprseq(es), serial(ser) { debugmsg("function constructor from unsigned,exprseq",LOGLEVEL_CONSTRUCT); - tinfo_key = TINFO_FUNCTION; + tinfo_key = TINFO_function; } function::function(unsigned ser, exvector const & v, bool discardable) : exprseq(v,discardable), serial(ser) { debugmsg("function constructor from string,exvector,bool",LOGLEVEL_CONSTRUCT); - tinfo_key = TINFO_FUNCTION; + tinfo_key = TINFO_function; } function::function(unsigned ser, exvector * vp) : exprseq(vp), serial(ser) { debugmsg("function constructor from unsigned,exvector *",LOGLEVEL_CONSTRUCT); - tinfo_key = TINFO_FUNCTION; + tinfo_key = TINFO_function; } ////////// @@ -605,3 +610,5 @@ unsigned function::register_new(char const * nm, eval_funcp_10 e, const function some_function; type_info const & typeid_function=typeid(some_function); +} // namespace GiNaC +