rfm@gnu.org
)Version: 1.8
Date: 2004/06/22 22:40:36
Copyright: (C) 2000 Free Software Foundation, Inc.
- Declared in:
- Foundation/NSClassDescription.h
Standards:
- MacOS-X
- NotOpenStep
- GNUstep
Each instance of this class provides descriptive information for an Objective C class. This is used for key-value coding, a framework used in Cocoa for scripting with Objective-C objects. Scripting is available in GNUstep using Guile, however that implementation does not make use of class descriptions. Therefore the primary purpose of this class is to smooth the process of porting between GNUstep and other OpenStep-derived systems.
Method summary
Returns the class description for aClass
. If there is no such description available, sends an
NSClassDescriptionNeededForClassNotification
(with aClass as its object) so that
objects providing class descriptions can register
one, and tries again to find one.
Returns
nil
if there is no description found.
Handles locking to ensure thread safety and
ensures that the returned object will not be
destroyed by other threads.
Invalidates the cache of class descriptions so the new descriptions will be fetched as required and begin to refil the cache. You need this only if you suspect that a class description should have changed.
Registers aDescription for aClass... placing it in the cache and replacing any previous version.
Returns the attribute keys - default implementation
returns nil
.
Returns the inverse relationship keys - default
implementation returns nil
.
Returns the to many relationship keys - default
implementation returns nil
.
Returns the to one relationship keys - default
implementation returns nil
.
- Declared in:
- Foundation/NSClassDescription.h
Standards:
- MacOS-X
- NotOpenStep
- GNUstep
Description forthcoming.
Method summaryReturns the attribute keys supplied by the NSClassDescription object for the receivers class.
Returns the NSClassDescription object for the receivers class.
Returns the inverse relationship keys supplied by the NSClassDescription object for the receivers class.
Returns the to many relationship keys supplied by the NSClassDescription object for the receivers class.
Returns the to one relationship keys supplied by the NSClassDescription object for the receivers class.