annotate src/pr-output.h @ 4720:e759d01692db ss-2-1-53

[project @ 2004-01-23 04:13:37 by jwe]
author jwe
date Fri, 23 Jan 2004 04:13:37 +0000
parents c8829691db47
children 35bfb4e0b96b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
1 /*
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
2
2847
8b262e771614 [project @ 1997-03-27 16:18:26 by jwe]
jwe
parents: 2387
diff changeset
3 Copyright (C) 1996, 1997 John W. Eaton
1
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
4
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
5 This file is part of Octave.
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
6
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
7 Octave is free software; you can redistribute it and/or modify it
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
8 under the terms of the GNU General Public License as published by the
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
9 Free Software Foundation; either version 2, or (at your option) any
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
10 later version.
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
11
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
12 Octave is distributed in the hope that it will be useful, but WITHOUT
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
15 for more details.
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
16
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
18 along with Octave; see the file COPYING. If not, write to the Free
1315
611d403c7f3d [project @ 1995-06-25 19:56:32 by jwe]
jwe
parents: 1309
diff changeset
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
20
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
21 */
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
22
383
0b52c68ec81f [project @ 1994-03-09 21:19:44 by jwe]
jwe
parents: 240
diff changeset
23 #if !defined (octave_pr_output_h)
0b52c68ec81f [project @ 1994-03-09 21:19:44 by jwe]
jwe
parents: 240
diff changeset
24 #define octave_pr_output_h 1
1
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
25
3503
d14c483b3c12 [project @ 2000-02-01 04:06:07 by jwe]
jwe
parents: 3215
diff changeset
26 #include <iostream>
1
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
27
1651
e846e361a265 [project @ 1995-12-20 06:59:12 by jwe]
jwe
parents: 1572
diff changeset
28 #include "oct-cmplx.h"
e846e361a265 [project @ 1995-12-20 06:59:12 by jwe]
jwe
parents: 1572
diff changeset
29
4655
c8829691db47 [project @ 2003-11-24 21:24:37 by jwe]
jwe
parents: 4513
diff changeset
30 template <typename T> class ArrayN;
1738
bb9d00aa55fb [project @ 1996-01-12 10:56:22 by jwe]
jwe
parents: 1651
diff changeset
31 class ComplexMatrix;
4513
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
32 class ComplexNDArray;
1
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
33 class Matrix;
4513
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
34 class NDArray;
1738
bb9d00aa55fb [project @ 1996-01-12 10:56:22 by jwe]
jwe
parents: 1651
diff changeset
35 class Range;
3215
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 2920
diff changeset
36 class boolMatrix;
4513
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
37 class boolNDArray;
1572
0d9e10d10bd7 [project @ 1995-10-19 04:31:30 by jwe]
jwe
parents: 1355
diff changeset
38 class charMatrix;
4513
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
39 class charNDArray;
3928
e8627dc4bdf2 [project @ 2002-05-03 19:56:01 by jwe]
jwe
parents: 3523
diff changeset
40 class Cell;
1
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
41
2920
53529870701e [project @ 1997-05-01 19:19:58 by jwe]
jwe
parents: 2907
diff changeset
42 extern void
3523
b80bbb43a1a9 [project @ 2000-02-02 10:25:52 by jwe]
jwe
parents: 3503
diff changeset
43 octave_print_internal (std::ostream& os, double d,
2920
53529870701e [project @ 1997-05-01 19:19:58 by jwe]
jwe
parents: 2907
diff changeset
44 bool pr_as_read_syntax = false);
625
9cdb3844008b [project @ 1994-08-19 02:01:31 by jwe]
jwe
parents: 383
diff changeset
45
2920
53529870701e [project @ 1997-05-01 19:19:58 by jwe]
jwe
parents: 2907
diff changeset
46 extern void
3523
b80bbb43a1a9 [project @ 2000-02-02 10:25:52 by jwe]
jwe
parents: 3503
diff changeset
47 octave_print_internal (std::ostream& os, const Matrix& m,
2920
53529870701e [project @ 1997-05-01 19:19:58 by jwe]
jwe
parents: 2907
diff changeset
48 bool pr_as_read_syntax = false,
53529870701e [project @ 1997-05-01 19:19:58 by jwe]
jwe
parents: 2907
diff changeset
49 int extra_indent = 0);
625
9cdb3844008b [project @ 1994-08-19 02:01:31 by jwe]
jwe
parents: 383
diff changeset
50
2920
53529870701e [project @ 1997-05-01 19:19:58 by jwe]
jwe
parents: 2907
diff changeset
51 extern void
4513
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
52 octave_print_internal (std::ostream& os, const NDArray& nda,
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
53 bool pr_as_read_syntax = false,
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
54 int extra_indent = 0);
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
55
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
56 extern void
3523
b80bbb43a1a9 [project @ 2000-02-02 10:25:52 by jwe]
jwe
parents: 3503
diff changeset
57 octave_print_internal (std::ostream& os, const Complex& c,
2920
53529870701e [project @ 1997-05-01 19:19:58 by jwe]
jwe
parents: 2907
diff changeset
58 bool pr_as_read_syntax = false);
625
9cdb3844008b [project @ 1994-08-19 02:01:31 by jwe]
jwe
parents: 383
diff changeset
59
2920
53529870701e [project @ 1997-05-01 19:19:58 by jwe]
jwe
parents: 2907
diff changeset
60 extern void
3523
b80bbb43a1a9 [project @ 2000-02-02 10:25:52 by jwe]
jwe
parents: 3503
diff changeset
61 octave_print_internal (std::ostream& os, const ComplexMatrix& cm,
2920
53529870701e [project @ 1997-05-01 19:19:58 by jwe]
jwe
parents: 2907
diff changeset
62 bool pr_as_read_syntax = false,
53529870701e [project @ 1997-05-01 19:19:58 by jwe]
jwe
parents: 2907
diff changeset
63 int extra_indent = 0);
625
9cdb3844008b [project @ 1994-08-19 02:01:31 by jwe]
jwe
parents: 383
diff changeset
64
2920
53529870701e [project @ 1997-05-01 19:19:58 by jwe]
jwe
parents: 2907
diff changeset
65 extern void
4513
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
66 octave_print_internal (std::ostream& os, const ComplexNDArray& nda,
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
67 bool pr_as_read_syntax = false,
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
68 int extra_indent = 0);
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
69
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
70 extern void
3523
b80bbb43a1a9 [project @ 2000-02-02 10:25:52 by jwe]
jwe
parents: 3503
diff changeset
71 octave_print_internal (std::ostream& os, const Range& r,
2920
53529870701e [project @ 1997-05-01 19:19:58 by jwe]
jwe
parents: 2907
diff changeset
72 bool pr_as_read_syntax = false,
53529870701e [project @ 1997-05-01 19:19:58 by jwe]
jwe
parents: 2907
diff changeset
73 int extra_indent = 0);
1
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
74
2920
53529870701e [project @ 1997-05-01 19:19:58 by jwe]
jwe
parents: 2907
diff changeset
75 extern void
3523
b80bbb43a1a9 [project @ 2000-02-02 10:25:52 by jwe]
jwe
parents: 3503
diff changeset
76 octave_print_internal (std::ostream& os, const boolMatrix& m,
3215
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 2920
diff changeset
77 bool pr_as_read_syntax = false,
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 2920
diff changeset
78 int extra_indent = 0);
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 2920
diff changeset
79
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 2920
diff changeset
80 extern void
4513
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
81 octave_print_internal (std::ostream& os, const boolNDArray& m,
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
82 bool pr_as_read_syntax = false,
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
83 int extra_indent = 0);
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
84
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
85 extern void
3523
b80bbb43a1a9 [project @ 2000-02-02 10:25:52 by jwe]
jwe
parents: 3503
diff changeset
86 octave_print_internal (std::ostream& os, const charMatrix& chm,
2920
53529870701e [project @ 1997-05-01 19:19:58 by jwe]
jwe
parents: 2907
diff changeset
87 bool pr_as_read_syntax = false,
3215
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 2920
diff changeset
88 int extra_indent = 0,
bc3fdfe311a3 [project @ 1998-11-10 14:06:21 by jwe]
jwe
parents: 2920
diff changeset
89 bool pr_as_string = false);
1355
94697d007075 [project @ 1995-09-05 20:04:15 by jwe]
jwe
parents: 1315
diff changeset
90
3928
e8627dc4bdf2 [project @ 2002-05-03 19:56:01 by jwe]
jwe
parents: 3523
diff changeset
91 extern void
4655
c8829691db47 [project @ 2003-11-24 21:24:37 by jwe]
jwe
parents: 4513
diff changeset
92 octave_print_internal (std::ostream& os, const charNDArray& nda,
4513
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
93 bool pr_as_read_syntax = false,
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
94 int extra_indent = 0,
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
95 bool pr_as_string = false);
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
96
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 3933
diff changeset
97 extern void
4655
c8829691db47 [project @ 2003-11-24 21:24:37 by jwe]
jwe
parents: 4513
diff changeset
98 octave_print_internal (std::ostream& os, const ArrayN<std::string>& sa,
c8829691db47 [project @ 2003-11-24 21:24:37 by jwe]
jwe
parents: 4513
diff changeset
99 bool pr_as_read_syntax = false,
c8829691db47 [project @ 2003-11-24 21:24:37 by jwe]
jwe
parents: 4513
diff changeset
100 int extra_indent = 0);
c8829691db47 [project @ 2003-11-24 21:24:37 by jwe]
jwe
parents: 4513
diff changeset
101
c8829691db47 [project @ 2003-11-24 21:24:37 by jwe]
jwe
parents: 4513
diff changeset
102 extern void
3933
f9ea3dcf58ee [project @ 2002-05-15 03:21:00 by jwe]
jwe
parents: 3928
diff changeset
103 octave_print_internal (std::ostream& os, const Cell& cell,
3928
e8627dc4bdf2 [project @ 2002-05-03 19:56:01 by jwe]
jwe
parents: 3523
diff changeset
104 bool pr_as_read_syntax = false,
3933
f9ea3dcf58ee [project @ 2002-05-15 03:21:00 by jwe]
jwe
parents: 3928
diff changeset
105 int extra_indent = 0,
f9ea3dcf58ee [project @ 2002-05-15 03:21:00 by jwe]
jwe
parents: 3928
diff changeset
106 bool pr_as_string = false);
3928
e8627dc4bdf2 [project @ 2002-05-03 19:56:01 by jwe]
jwe
parents: 3523
diff changeset
107
1
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
108 #endif
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
109
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
110 /*
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
111 ;;; Local Variables: ***
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
112 ;;; mode: C++ ***
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
113 ;;; End: ***
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
114 */