|
GiNaC
1.6.2
|
00001 00005 /* 00006 * GiNaC Copyright (C) 1999-2011 Johannes Gutenberg University Mainz, Germany 00007 * 00008 * This program is free software; you can redistribute it and/or modify 00009 * it under the terms of the GNU General Public License as published by 00010 * the Free Software Foundation; either version 2 of the License, or 00011 * (at your option) any later version. 00012 * 00013 * This program is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with this program; if not, write to the Free Software 00020 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00021 */ 00022 00023 #include "exprseq.h" 00024 00025 namespace GiNaC { 00026 00027 template <> GINAC_IMPLEMENT_REGISTERED_CLASS_OPT_T(exprseq, basic, 00028 print_func<print_context>(&exprseq::do_print). 00029 print_func<print_tree>(&exprseq::do_print_tree)) 00030 00031 00032 template <> bool exprseq::info(unsigned inf) const 00033 { 00034 if (inf == info_flags::exprseq) 00035 return true; 00036 else 00037 return inherited::info(inf); 00038 } 00039 00040 #ifdef _MSC_VER 00041 // MSVC does not include exprseq::info() in the library without 00042 // defining some kind of dummy function here 00043 basic* dummy_func(void) { return new exprseq(); } 00044 #endif 00045 00046 } // namespace GiNaC