Bull DPX/20 Podręcznik Użytkownika Strona 101

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 424
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 100
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
Przeglądanie stron 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 423 424

Komentarze do niniejszej Instrukcji

Brak uwag