1-70 SOMobjects Base Toolkit: Programmer’s Reference Manual
somGetNumStaticMethods
somGetParents
somGetVersionNumbers
Group: Testing
somCheckVersion
somDescendedFrom
somSupportsMethod
Group: Dynamic
somFindMethod, somFindMethodOk
somFindSMethod, somFindSMethodOk
somLookupMethod
Overridden Methods
somDefaultInit
somDestruct
somDumpSelfInt
Deprecated Methods
Use of the following methods is discouraged. There are three reasons for this:
First, these methods are used in constructing classes, and this capability is provided by the
function somBuildClass. Class construction in SOM is currently a fairly complex activity,
and it is likely to become even more so as the SOMobjects kernel evolves. To avoid
breaking source code that constructs classes, you are advised to always use
somBuildClass to build SOM classes.
Note: The SOM language bindings always use somBuildClass.
Second, these methods are used for customizing aspects of SOM classes, such as method
resolution and object creation. Doing this requires that metaclasses override various
methods introduced by SOMClass. However, if this is done without the Cooperation
Framework that implements the SOM Metaclass Framework, SOMobjects cannot guarantee
that applications will function correctly. Unfortunately, the Cooperation Framework (while
available to SOM users as an experimental feature) is not officially supported by the
SOMobjects Toolkit. So, this is another reason why the following methods are deprecated.
Finally, some of these methods are now obsolete, so it seems appropriate that their use be
discouraged.
somAddStaticMethod
somGetApplyStub
somGetClassDatas
omGetClassMtab
somGetInstanceOffset
somGetMethodOffset
somGetParent
somGetPClsMtab
somGetPClsMtabs
somGetRdStub
Commenti su questo manuale