THE 'Object' CLASS
Object THE TOP OF THE CLASS HEIRARCHY
Messages:
SHOW AN OBJECT'S INSTANCE VARIABLES
:show
RETURN THE CLASS OF AN OBJECT
:class
- returns the class of the object
PRINT THE OBJECT
:prin1 [<stream>]
- <stream> T is *terminal-io*, NIL does not print (for FLATSIZE calculation), and default is *standard-output*
- returns the object
THE DEFAULT OBJECT INITIALIZATION ROUTINE
:isnew
GET THE SUPERCLASS OF THE OBJECT
:superclass
(Defined in classes.lsp, see :superclass below)
CLASS MEMBERSHIP
:ismemberof <class>
- <class> class name
- returns T if object member of class, else NIL
(defined in classes.lsp)
CLASS MEMBERSHIP
:iskindof <class>
- <class> class name
- returns T if object member of class or subclass of class, else NIL
(defined in classes.lsp)
SELECTOR KNOWLEDGE
:respondsto <sel>
- <sel> message selector
- returns T if object responds to message selector, else NIL.
(defined in classes.lsp)
READ REPRESENTATION
:storeon
- returns a list, that when executed will create a copy of the object. Only works for members of classes created with defclass.
(defined in classes.lsp)
XLISP-PLUS - Version 2.1g - Tom Almy
tom.almy@tek.com - 18 JUL 94
Generated with WebMaker