GiNaC 1.8.10
fail.cpp
Go to the documentation of this file.
1
6/*
7 * GiNaC Copyright (C) 1999-2026 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, see <https://www.gnu.org/licenses/>.
21 */
22
23#include "fail.h"
24#include "archive.h"
25#include "utils.h"
26
27namespace GiNaC {
28
31 print_func<print_tree>(&fail::do_print_tree))
32
33
34// default constructor
36
38
39
40// archiving
42
44// functions overriding virtual functions from base classes
46
48DEFAULT_PRINT(fail, "FAIL")
50
51} // namespace GiNaC
Archiving of GiNaC expressions.
This class is the ABC (abstract base class) of GiNaC's class hierarchy.
Definition basic.h:104
void do_print_tree(const print_tree &c, unsigned level) const
Tree output to stream.
Definition basic.cpp:174
void do_print(const print_context &c, unsigned level) const
Interface to class signaling failure of operation.
Definition add.cpp:35
print_func< print_context >(&varidx::do_print). print_func< print_latex >(&varidx
Definition idx.cpp:43
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:41
#define GINAC_IMPLEMENT_REGISTERED_CLASS_OPT(classname, supername, options)
Macro for inclusion in the implementation of each registered class.
Definition registrar.h:183
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:615
#define DEFAULT_CTOR(classname)
Definition utils.h:605
#define DEFAULT_COMPARE(classname)
Definition utils.h:608

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