Name
OutputStream -- stream of output bytes
(.. This type will be more fully documented when it is generalized beyond
its current status as a placeholder used only to direct debuggging output.)
Synopsis
//
// OutputStream -- stream of output bytes
//
@deftype OutputStream <Create, Drop, CREATABLE>
CREATING
+ create: aZone setFileStream: (FILE *)fileStream;
- setFileStream: (FILE *)fileStream;
USING
- (FILE *) getFileStream;
- (void) appendC: (char *)cstring;
@end
Description
The OutputStream type currently supports only the writing of a character
string to a file. It is a placeholder for more general stream types. A
stream is a collection that supports only sequential addition of members
(an output stream) or sequential removal of members (an input stream).
Inherited behavior
@deftype OutputStream <Create, Drop, CREATABLE>
...
Create-time options
CREATING
- setFileStream: (FILE *)fileStream;
USING
- (FILE *) getFileStream;
...
Special create: message
+ create: aZone setFileStream: (FILE *)fileStream;
...
OutputStream behavior
- (void) appendC: (char *)cstring;
@end
...
Roger Burkhart <rmb@santafe.edu>
Last modified: