somGetMethodDescriptor
From EDM2
This method returns the method descriptor for a method. Not generally overridden.
For backward compatibility, this method does not take an Environment parameter.
- Original Class
- SOMClass
Syntax
somId somGetMethodDescriptor (SOMClass receiver, somId methodId)
Parameters
- receiver (SOMClass)
- A pointer to a SOMClass.
- methodId (somId)
- A somId method descriptor.
Return Code
- rc (somId)
- Returns a somId method descriptor.
Remarks
This 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.
Example Code
somId myMethodDescriptor; myMethodDescriptor = _somGetMethodDescriptor(_Animal, somIdFromString("setSound"));