GiNaC 1.8.8
fail.cpp
Go to the documentation of this file.
1
6/*
7 * GiNaC Copyright (C) 1999-2025 Johannes Gutenberg University Mainz, Germany
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 */
23
24#include "fail.h"
25#include "archive.h"
26#include "utils.h"
27
28namespace GiNaC {
29
32 print_func<print_tree>(&fail::do_print_tree))
33
34
35// default constructor
37
39
40
41// archiving
43
45// functions overriding virtual functions from base classes
47
49DEFAULT_PRINT(fail, "FAIL")
51
52} // namespace GiNaC
Archiving of GiNaC expressions.
This class is the ABC (abstract base class) of GiNaC's class hierarchy.
Definition basic.h:105
void do_print_tree(const print_tree &c, unsigned level) const
Tree output to stream.
Definition basic.cpp:175
void do_print(const print_context &c, unsigned level) const
Interface to class signaling failure of operation.
Definition add.cpp:36
print_func< print_context >(&varidx::do_print). print_func< print_latex >(&varidx
Definition idx.cpp:44
GINAC_IMPLEMENT_REGISTERED_CLASS_OPT_T(lst, basic, print_func< print_context >(&lst::do_print). print_func< print_tree >(&lst::do_print_tree)) template<> bool lst GINAC_BIND_UNARCHIVER(lst)
Specialization of container::info() for lst.
Definition lst.cpp:42
#define GINAC_IMPLEMENT_REGISTERED_CLASS_OPT(classname, supername, options)
Macro for inclusion in the implementation of each registered class.
Definition registrar.h:184
Interface to several small and furry utilities needed within GiNaC but not of any interest to the use...
#define DEFAULT_PRINT(classname, text)
Definition utils.h:616
#define DEFAULT_CTOR(classname)
Definition utils.h:606
#define DEFAULT_COMPARE(classname)
Definition utils.h:609

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