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 |
4655
|
30 template <typename T> class ArrayN; |
1738
|
31 class ComplexMatrix; |
4513
|
32 class ComplexNDArray; |
1
|
33 class Matrix; |
4513
|
34 class NDArray; |
1738
|
35 class Range; |
3215
|
36 class boolMatrix; |
4513
|
37 class boolNDArray; |
1572
|
38 class charMatrix; |
4513
|
39 class charNDArray; |
3928
|
40 class Cell; |
1
|
41 |
2920
|
42 extern void |
3523
|
43 octave_print_internal (std::ostream& os, double d, |
2920
|
44 bool pr_as_read_syntax = false); |
625
|
45 |
2920
|
46 extern void |
3523
|
47 octave_print_internal (std::ostream& os, const Matrix& m, |
2920
|
48 bool pr_as_read_syntax = false, |
|
49 int extra_indent = 0); |
625
|
50 |
2920
|
51 extern void |
4513
|
52 octave_print_internal (std::ostream& os, const NDArray& nda, |
|
53 bool pr_as_read_syntax = false, |
|
54 int extra_indent = 0); |
|
55 |
|
56 extern void |
3523
|
57 octave_print_internal (std::ostream& os, const Complex& c, |
2920
|
58 bool pr_as_read_syntax = false); |
625
|
59 |
2920
|
60 extern void |
3523
|
61 octave_print_internal (std::ostream& os, const ComplexMatrix& cm, |
2920
|
62 bool pr_as_read_syntax = false, |
|
63 int extra_indent = 0); |
625
|
64 |
2920
|
65 extern void |
4513
|
66 octave_print_internal (std::ostream& os, const ComplexNDArray& nda, |
|
67 bool pr_as_read_syntax = false, |
|
68 int extra_indent = 0); |
|
69 |
|
70 extern void |
3523
|
71 octave_print_internal (std::ostream& os, const Range& r, |
2920
|
72 bool pr_as_read_syntax = false, |
|
73 int extra_indent = 0); |
1
|
74 |
2920
|
75 extern void |
3523
|
76 octave_print_internal (std::ostream& os, const boolMatrix& m, |
3215
|
77 bool pr_as_read_syntax = false, |
|
78 int extra_indent = 0); |
|
79 |
|
80 extern void |
4513
|
81 octave_print_internal (std::ostream& os, const boolNDArray& m, |
|
82 bool pr_as_read_syntax = false, |
|
83 int extra_indent = 0); |
|
84 |
|
85 extern void |
3523
|
86 octave_print_internal (std::ostream& os, const charMatrix& chm, |
2920
|
87 bool pr_as_read_syntax = false, |
3215
|
88 int extra_indent = 0, |
|
89 bool pr_as_string = false); |
1355
|
90 |
3928
|
91 extern void |
4655
|
92 octave_print_internal (std::ostream& os, const charNDArray& nda, |
4513
|
93 bool pr_as_read_syntax = false, |
|
94 int extra_indent = 0, |
|
95 bool pr_as_string = false); |
|
96 |
|
97 extern void |
4655
|
98 octave_print_internal (std::ostream& os, const ArrayN<std::string>& sa, |
|
99 bool pr_as_read_syntax = false, |
|
100 int extra_indent = 0); |
|
101 |
|
102 extern void |
3933
|
103 octave_print_internal (std::ostream& os, const Cell& cell, |
3928
|
104 bool pr_as_read_syntax = false, |
3933
|
105 int extra_indent = 0, |
|
106 bool pr_as_string = false); |
3928
|
107 |
1
|
108 #endif |
|
109 |
|
110 /* |
|
111 ;;; Local Variables: *** |
|
112 ;;; mode: C++ *** |
|
113 ;;; End: *** |
|
114 */ |