All Manuals > Common Lisp Interface Manager 2.0 User's Guide > Appendix D Common Lisp Streams

NextPrevUpTopContentsIndex
D.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

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

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

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

Summary: A subclass of fundamental-stream . It provides a method for stream-element-type , which returns character .

fundamental-binary-stream

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

Summary: A subclass of fundamental-input-stream and fundamental-character-stream, providing default methods for generic functions for character input.

fundamental-character-output-stream

Summary: A subclass of fundamental-output-stream and fundamental-character-stream , providing default methods for generic functions for character output.

fundamental-binary-input-stream

Summary: A subclass of fundamental-input-stream and fundamental-binary-stream .

fundamental-binary-output-stream

Summary: A subclass of fundamental-output-stream and fundamental-binary-stream .


Common Lisp Interface Manager 2.0 User's Guide - 7 Aug 2017

NextPrevUpTopContentsIndex