Appendix F Common Lisp Streams
F.1 Stream Classes
The following classes are used as superclasses of user-defined stream classes. They are not intended to be directly instantiated; they just provide places to hang default methods. The predicate functions may return t for other objects that are not members of the fundamental-stream class (or its subclasses) but that claim to serve as streams.
fundamental-stream [Class]
- Summary:
- This class is the base class for all CLIM streams. It is a subclass of stream and of standard-object.
streamp [Generic Function]
- Arguments:
- object
- Summary:
- Returns t if object is a member of the class fundamental-stream.
fundamental-input-stream [Class]
- Summary:
- A subclass of fundamental-stream that implements input streams.
input-stream-p [Generic Function]
- Arguments:
- object
- Summary:
- Returns t when called on any object that is a member of the class fundamental-input-stream.
fundamental-output-stream [Class]
- Summary:
- A subclass of fundamental-stream that implements output streams.
output-stream-p [Generic Function]
- Arguments:
- object
- Summary:
- Returns t when called on any object that is a member of the class fundamental-output-stream.
- Bidirectional streams can be formed by including both fundamental-input-stream and fundamental-output-stream.
fundamental-character-stream [Class]
- Summary:
- A subclass of fundamental-stream. It provides a method for stream-element-type, which returns character.
fundamental-binary-stream [Class]
- Summary:
- A subclass of fundamental-stream. Any instantiable class that includes this needs to define a method for stream-element-type.
fundamental-character-input-stream [Class]
- Summary:
- A subclass of fundamental-input-stream and fundamental-character-stream, providing default methods for generic functions for character input.
fundamental-character-output-stream [Class]
- Summary:
- A subclass of fundamental-output-stream and fundamental-character-stream, providing default methods for generic functions for character output.
fundamental-binary-input-stream [Class]
- Summary:
- A subclass of fundamental-input-stream and fundamental-binary-stream.
fundamental-binary-output-stream [Class]
- Summary:
- A subclass of fundamental-output-stream and fundamental-binary-stream.
CLIM 2.0 User's Guide - OCT 1998 Generated with Harlequin WebMaker