basham@AIO.JSC.NASA.GOV (BASH Man) (01/08/91)
To whomever can help me,
I'm attempting to create a new slot definition class that will create
(among other things) a new type of reader method. I
've scoured the
MOP (Draft 11), but have not found any reference to the creation of
these methods. I assume it happens sometime during the COMPUTE-SLOTS
function, but I found no such description. Where can I look next?
Any help is appreciated, Bryan
/-------------------------------------------------/
/ Bryan D. Basham /
/ NASA/JSC Mail Stop: ER22, Houston TX 77058 /
/ (713) 483-2065 /
/ basham@AIO.JSC.NASA.GOV /
/-------------------------------------------------/Gregor@parc.xerox.com (Gregor Kiczales) (01/08/91)
The current Metaobject Protocol (draft 11) doesn't specify how these methods are created. The next (and final draft to come out of PARC) will provide a way to control this. If you are using PCL (and perhaps even if you are using one of its commercial progeny) you can specialize one of: ADD-READER-METHOD ADD-WRITER-METHOD REMOVE-READER-METHOD REMOVE-READER-METHOD For more information on how this works, see the file std-class.lisp.