SOM Kernel Reference 1-89
somGetMethodDescriptor Method
Purpose
Returns the method descriptor for a method. Not generally overridden.
IDL Syntax
somId somGetMethodDescriptor (in somId methodId);
Note: For backward compatibility, this method does not take an Environment parameter.
Description
The somGetMethodDescriptor method returns the method descriptor for a specified
method of a class. (A method descriptor is a somId that represents the identifier of an
attribute definition or a method definition in the SOM Interface Repository. It contains
information about the method’s return type and the types of its arguments.) If the class
object does not support the indicated method, NULL is returned.
Parameters
receiver A pointer to a SOMClass object.
methodId A somId method descriptor.
Return Value
The somGetMethodDescriptor method returns a somId method descriptor.
Example
somId myMethodDescriptor;
myMethodDescriptor = _somGetMethodDescriptor(_Animal,
somIdFromString(“setSound”));
Original Class
SOMClass
Related Information
Methods: somAddDynamicMethod, somGetNthMethodInfo, somGetMethodData,
somGetNthMethodData
Kommentare zu diesen Handbüchern