OutputStream
Name
OutputStream -- Stream of output bytes.
Description
The OutputStream type currently supports the writing of types to a Lisp-like format. 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). With the exception of the -catC: method, all messages write to stream in Lisp archiver format.
Methods
Phase: Creating
-
setExprFlag: (BOOL)
exprFlag -
setFileStream: (FILE *)
fileStream +
create: (id <Zone>)
aZone setFileStream: (FILE *)
fileStream
Phase: Using
- (void)
catUnsignedPair: (unsigned)
a : (unsigned)
b - (void)
catStartMakeClass: (const char *)
className - (void)
catEndMakeInstance- (void)
catStartMakeInstance: (const char *)
typeName - (void)
catStartQuotedList- (void)
catStartFunction: (const char *)
functionName - (void)
catClass: (Class)
class - (void)
catType: (const char *)
type - (void)
catArrayRank: (unsigned)
rank - (void)
catString: (const char *)
str - (void)
catSymbol: (const char *)
symbol - (void)
catKeyword: (const char *)
keyword - (void)
catLiteral: (const char *)
str - (void)
catPointer: (const void *)
ptr - (void)
catUnsignedLongLong: (unsigned long long)
ulnglng - (void)
catLongLong: (long long)
lnglng - (void)
catUnsignedLong: (unsigned long)
ulng - (void)
catLong: (long)
lng - (void)
catUnsignedShort: (unsigned short)
usht - (void)
catShort: (short)
sht - (void)
catUnsigned: (unsigned)
un Writes an unsigned to stream in Lisp archiver format
- (void)
catInt: (int)
i Writes an integer to stream in Lisp archiver format
- (void)
catLongDouble: (long double)
dbl Writes a double to stream in Lisp archiver format
- (void)
catDouble: (double)
dbl Writes a double to stream in Lisp archiver format
- (void)
catFloat: (float)
flt Writes a float to stream in Lisp archiver format
- (void)
catChar: (char)
ch Writes a character to stream in Lisp archiver format
- (void)
catBoolean: (BOOL)
bool Writes a boolean to stream in Lisp archiver format
- (void)
catC: (const char *)
cstring Writes character string to stream