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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 424
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 363
4-6 SOMobjects Base Toolkit Programmers Reference
Manual
Example
The following figure shows an invocation of “myMethod” on “myObject”. Because
“myObject” is an instance of a class whose metaclass is a subclass of SOMMBeforeAfter,
“myMethod” is preceded by an invocation of sommBeforeMethod (note the user does not
actually code the method). The adjacent figure illustrates the meaning of the parameters to
sommBeforeMethod.
sommBeforeMethod(receiver, ev, myObject, ...)
myMethod(myObject,...)
.
.
.
.
.
.
An Example of Using sommBeforeMethod
Legend:
Subclass ofInstance of
Metaclass Class Ordinary Object
“myObject”
“receiver”
aMetaclass
SOMMBeforeAfter
Original Class
SOMMBeforeAfter
Related Information
Methods: sommAfterMethod
Przeglądanie stron 363
1 2 ... 359 360 361 362 363 364 365 366 367 368 369 ... 423 424

Komentarze do niniejszej Instrukcji

Brak uwag