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; |
1
|
35 |
2920
|
36 extern void |
3523
|
37 octave_print_internal (std::ostream& os, double d, |
2920
|
38 bool pr_as_read_syntax = false); |
625
|
39 |
2920
|
40 extern void |
3523
|
41 octave_print_internal (std::ostream& os, const Matrix& m, |
2920
|
42 bool pr_as_read_syntax = false, |
|
43 int extra_indent = 0); |
625
|
44 |
2920
|
45 extern void |
3523
|
46 octave_print_internal (std::ostream& os, const Complex& c, |
2920
|
47 bool pr_as_read_syntax = false); |
625
|
48 |
2920
|
49 extern void |
3523
|
50 octave_print_internal (std::ostream& os, const ComplexMatrix& cm, |
2920
|
51 bool pr_as_read_syntax = false, |
|
52 int extra_indent = 0); |
625
|
53 |
2920
|
54 extern void |
3523
|
55 octave_print_internal (std::ostream& os, const Range& r, |
2920
|
56 bool pr_as_read_syntax = false, |
|
57 int extra_indent = 0); |
1
|
58 |
2920
|
59 extern void |
3523
|
60 octave_print_internal (std::ostream& os, const boolMatrix& m, |
3215
|
61 bool pr_as_read_syntax = false, |
|
62 int extra_indent = 0); |
|
63 |
|
64 extern void |
3523
|
65 octave_print_internal (std::ostream& os, const charMatrix& chm, |
2920
|
66 bool pr_as_read_syntax = false, |
3215
|
67 int extra_indent = 0, |
|
68 bool pr_as_string = false); |
1355
|
69 |
1
|
70 #endif |
|
71 |
|
72 /* |
|
73 ;;; Local Variables: *** |
|
74 ;;; mode: C++ *** |
|
75 ;;; End: *** |
|
76 */ |