GiNaC  1.6.2
fail.cpp
Go to the documentation of this file.
00001 
00006 /*
00007  *  GiNaC Copyright (C) 1999-2011 Johannes Gutenberg University Mainz, Germany
00008  *
00009  *  This program is free software; you can redistribute it and/or modify
00010  *  it under the terms of the GNU General Public License as published by
00011  *  the Free Software Foundation; either version 2 of the License, or
00012  *  (at your option) any later version.
00013  *
00014  *  This program is distributed in the hope that it will be useful,
00015  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  *  GNU General Public License for more details.
00018  *
00019  *  You should have received a copy of the GNU General Public License
00020  *  along with this program; if not, write to the Free Software
00021  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00022  */
00023 
00024 #include "fail.h"
00025 #include "archive.h"
00026 #include "utils.h"
00027 
00028 #include <iostream>
00029 
00030 namespace GiNaC {
00031 
00032 GINAC_IMPLEMENT_REGISTERED_CLASS_OPT(fail, basic,
00033   print_func<print_context>(&fail::do_print).
00034   print_func<print_tree>(&fail::do_print_tree))
00035 
00036 
00037 // default constructor
00039 
00040 DEFAULT_CTOR(fail)
00041 
00043 // archiving
00045 
00047 // functions overriding virtual functions from base classes
00049 
00050 DEFAULT_COMPARE(fail)
00051 DEFAULT_PRINT(fail, "FAIL")
00052 GINAC_BIND_UNARCHIVER(fail);
00053 
00054 } // namespace GiNaC

This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.