/[GiNaC]/ginac/print.cpp
ViewVC logotype

Contents of /ginac/print.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (show annotations)
Thu Jan 24 22:28:20 2002 UTC (11 years, 3 months ago) by kreckel
Branch: MAIN
CVS Tags: release_1-0-4, release_1-0-8, release_1-0-9, release_1-0-10, release_1-0-12, release_1-0-11, release_1-0-6, release_1-0-7
Changes since 1.14: +1 -1 lines
* Finilize version 1.0.4 (version numbers, copyrights and such rubbish).

1 /** @file print.cpp
2 *
3 * Implementation of helper classes for expression output. */
4
5 /*
6 * GiNaC Copyright (C) 1999-2002 Johannes Gutenberg University Mainz, Germany
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 */
22
23 #include <iostream>
24
25 #include "print.h"
26
27 namespace GiNaC {
28
29 print_context::print_context()
30 : s(std::cout) {}
31 print_context::print_context(std::ostream & os)
32 : s(os) {}
33
34 print_latex::print_latex()
35 : print_context(std::cout) {}
36 print_latex::print_latex(std::ostream & os)
37 : print_context(os) {}
38
39 print_python::print_python()
40 : print_context(std::cout) {}
41 print_python::print_python(std::ostream & os)
42 : print_context(os) {}
43
44 print_python_repr::print_python_repr()
45 : print_context(std::cout) {}
46 print_python_repr::print_python_repr(std::ostream & os)
47 : print_context(os) {}
48
49 print_tree::print_tree(unsigned d)
50 : print_context(std::cout), delta_indent(d) {}
51 print_tree::print_tree(std::ostream & os, unsigned d)
52 : print_context(os), delta_indent(d) {}
53
54 print_csrc::print_csrc()
55 : print_context(std::cout) {}
56 print_csrc::print_csrc(std::ostream & os)
57 : print_context(os) {}
58
59 print_csrc_float::print_csrc_float()
60 : print_csrc(std::cout) {}
61 print_csrc_float::print_csrc_float(std::ostream & os)
62 : print_csrc(os) {}
63
64 print_csrc_double::print_csrc_double()
65 : print_csrc(std::cout) {}
66 print_csrc_double::print_csrc_double(std::ostream & os)
67 : print_csrc(os) {}
68
69 print_csrc_cl_N::print_csrc_cl_N()
70 : print_csrc(std::cout) {}
71 print_csrc_cl_N::print_csrc_cl_N(std::ostream & os)
72 : print_csrc(os) {}
73
74 } // namespace GiNaC

Christian Bauer">Christian Bauer
ViewVC Help
Powered by ViewVC 1.1.15