next up previous contents index
Next: Rectangle Up: Classes and Methods Previous: MethLayer

MethList

  (subclass of 9.1.3.30 XList)

A subclass of list, which enables the selection of a method of a specific class. It is possible to show only methods with a special name suffix, for example "-send"; breaking this rule you can add a some special methoda. It is possible to switch to the methods of the superclass like changing the folders of a filesystem.

   GRAPE(methlist, "get-methods")()
METHLIST *methlist
This method is used to fill the list with method names. It scans the GRAPE method tree and adds all method, which have the right method name suffix, to the list using "add-to-list"
   GRAPE(MethList, "new-instance")(meth, inst, name, wanted_end, no_of_additionals, additionals)
CLASS *MethList
char *meth
INSTANCE *inst
char *name
char *wanted_end
int no_of_additionals
char **additionals
Additionals are string which are added to the list additional to the ones found in the method tree.



SFB 256 Universität Bonn and IAM Universität Freiburg

Copyright © by the Sonderforschungsbereich 256 at the Institut für Angewandte Mathematik, Universität Bonn.