1
|
1 /* |
|
2 |
2847
|
3 Copyright (C) 1996, 1997 John W. Eaton |
1
|
4 |
|
5 This file is part of Octave. |
|
6 |
|
7 Octave is free software; you can redistribute it and/or modify it |
|
8 under the terms of the GNU General Public License as published by the |
|
9 Free Software Foundation; either version 2, or (at your option) any |
|
10 later version. |
|
11 |
|
12 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
15 for more details. |
|
16 |
|
17 You should have received a copy of the GNU General Public License |
|
18 along with Octave; see the file COPYING. If not, write to the Free |
1315
|
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
1
|
20 |
|
21 */ |
|
22 |
383
|
23 #if !defined (octave_pr_output_h) |
|
24 #define octave_pr_output_h 1 |
1
|
25 |
3503
|
26 #include <iostream> |
1
|
27 |
1651
|
28 #include "oct-cmplx.h" |
|
29 |
1738
|
30 class ComplexMatrix; |
1
|
31 class Matrix; |
1738
|
32 class Range; |
3215
|
33 class boolMatrix; |
1572
|
34 class charMatrix; |
3928
|
35 class Cell; |
1
|
36 |
2920
|
37 extern void |
3523
|
38 octave_print_internal (std::ostream& os, double d, |
2920
|
39 bool pr_as_read_syntax = false); |
625
|
40 |
2920
|
41 extern void |
3523
|
42 octave_print_internal (std::ostream& os, const Matrix& m, |
2920
|
43 bool pr_as_read_syntax = false, |
|
44 int extra_indent = 0); |
625
|
45 |
2920
|
46 extern void |
3523
|
47 octave_print_internal (std::ostream& os, const Complex& c, |
2920
|
48 bool pr_as_read_syntax = false); |
625
|
49 |
2920
|
50 extern void |
3523
|
51 octave_print_internal (std::ostream& os, const ComplexMatrix& cm, |
2920
|
52 bool pr_as_read_syntax = false, |
|
53 int extra_indent = 0); |
625
|
54 |
2920
|
55 extern void |
3523
|
56 octave_print_internal (std::ostream& os, const Range& r, |
2920
|
57 bool pr_as_read_syntax = false, |
|
58 int extra_indent = 0); |
1
|
59 |
2920
|
60 extern void |
3523
|
61 octave_print_internal (std::ostream& os, const boolMatrix& m, |
3215
|
62 bool pr_as_read_syntax = false, |
|
63 int extra_indent = 0); |
|
64 |
|
65 extern void |
3523
|
66 octave_print_internal (std::ostream& os, const charMatrix& chm, |
2920
|
67 bool pr_as_read_syntax = false, |
3215
|
68 int extra_indent = 0, |
|
69 bool pr_as_string = false); |
1355
|
70 |
3928
|
71 extern void |
|
72 octave_print_internal (std::ostream& os, const Cell& c, |
|
73 bool pr_as_read_syntax = false, |
|
74 int extra_indent = 0); |
|
75 |
1
|
76 #endif |
|
77 |
|
78 /* |
|
79 ;;; Local Variables: *** |
|
80 ;;; mode: C++ *** |
|
81 ;;; End: *** |
|
82 */ |