Bull DPX/20 Betriebsanweisung Seite 94

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 424
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 93
1-82 SOMobjects Base Toolkit: Programmers Reference Manual
somFindSMethod, somFindSMethodOk Methods
Purpose
Finds the method procedure for a static method. Not generally overridden.
IDL Syntax
somMethodPtr somFindSMethod (in somId methodId);
somMethodPtr somFindSMethodOk (in somId methodId);
Note: For backward compatibility, these methods do not take an Environment parameter.
Description
The somFindSMethod and somFindSMethodOk methods perform name-lookup
resolution in a similar fashion to somFindMethod and somFindMethodOk, but are
restricted to static methods. See the description of somFindMethod for a discussion of
name-lookup method resolution. Because these methods are restricted to resolving static
methods, their interface is slightly different from the somFindMethod interfaces; a method
procedure pointer is returned when lookup is successful; otherwise NULL is returned.
The somFindSMethodOk method is identical to somFindSMethod, except that an error is
raised if the indicated static method is not defined for the receiving class, and execution is
halted.
Parameters
receiver A pointer to a class object.
methodId A somId representing the name of the desired method.
Return Value
The somFindSMethod and somFindSMethodOk methods return a pointer to the method
procedure that supports the specified method for the class.
Example
See the somFindMethod example.
Original Class
SOMClass
Related Information
Methods: somFindMethod, somFindMethodOk Methods
Seitenansicht 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 423 424

Kommentare zu diesen Handbüchern

Keine Kommentare