Mercurial > hg > octave-nkf
comparison src/oct-iostrm.h @ 3342:d8d3700fb4ab
[project @ 1999-11-05 16:55:17 by jwe]
author | jwe |
---|---|
date | Fri, 05 Nov 1999 16:55:18 +0000 |
parents | 585a8809fd9b |
children | d14c483b3c12 |
comparison
equal
deleted
inserted
replaced
3341:14cfc9475fe4 | 3342:d8d3700fb4ab |
---|---|
86 is (arg) { } | 86 is (arg) { } |
87 | 87 |
88 static octave_stream | 88 static octave_stream |
89 create (istream *arg = 0, const string& nm = string ()); | 89 create (istream *arg = 0, const string& nm = string ()); |
90 | 90 |
91 // Return non-zero if EOF has been reached on this stream. | |
92 | |
93 bool eof (void) const; | |
94 | |
91 istream *input_stream (void) { return is; } | 95 istream *input_stream (void) { return is; } |
92 | 96 |
93 ostream *output_stream (void) { return 0; } | 97 ostream *output_stream (void) { return 0; } |
94 | 98 |
95 protected: | 99 protected: |
119 os (arg) { } | 123 os (arg) { } |
120 | 124 |
121 static octave_stream | 125 static octave_stream |
122 create (ostream *arg, const string& nm = string ()); | 126 create (ostream *arg, const string& nm = string ()); |
123 | 127 |
128 // Return non-zero if EOF has been reached on this stream. | |
129 | |
130 bool eof (void) const; | |
131 | |
124 istream *input_stream (void) { return 0; } | 132 istream *input_stream (void) { return 0; } |
125 | 133 |
126 ostream *output_stream (void) { return os; } | 134 ostream *output_stream (void) { return os; } |
127 | 135 |
128 protected: | 136 protected: |