X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fregistrar.h;h=384b0e7917d55b8d574ce55a71c2ea489b54c2df;hp=463328ddd2e4996fe9dfda4e88f1d4af535ef5a7;hb=3db194853d3dd2719231b83e4956cf6bcbe53627;hpb=0a1b35cf1e59c9e3aae33de8febaa1c8f4bbe630 diff --git a/ginac/registrar.h b/ginac/registrar.h index 463328dd..384b0e79 100644 --- a/ginac/registrar.h +++ b/ginac/registrar.h @@ -3,7 +3,7 @@ * GiNaC's class registrar (for class basic and all classes derived from it). */ /* - * GiNaC Copyright (C) 1999-2000 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -24,74 +24,150 @@ #define __GINAC_REGISTRAR_H__ #include +#include +#include + +#include "class_info.h" +#include "print.h" -#ifndef NO_GINAC_NAMESPACE namespace GiNaC { -#endif // ndef NO_GINAC_NAMESPACE -class registered_class_info; class ex; class archive_node; -class lst; - - -/** Unarchiving function (static member function of every GiNaC class). */ -typedef ex (*unarch_func)(const archive_node &n, const lst &sym_lst); +template