2-11
SOM Kernel Quick Reference
void somDestruct (
in octet dofree,
inout somDestructCtrl ctrl );
Uninitializes the receiving object, and (if so directed) frees object storage after uninitialization has been completed.
Replaces somUninit as the preferred method for uninitializing objects. It is recommended that somDestruct
always be overridden. Not normally invoked directly by object clients.
boolean somDispatch (
out somToken retValue,
in somId methodId,
in va_list args);
Invokes the indicated method on the receiver. For static methods, resolution of the indicated method is performed
using the method table of the receiver’s class. The result returned by the method is stored into the location
pointed to by retValue. The va_list must include the target object as well as the arguments.
boolean somClassDispatch (
in SOMClass clsObj,
out somToken retValue,
in somId methodId,
in va_list args);
Like somDispatch, except that static method resolution is performed using the instance method table of the specified
class (clsObj).
somToken somDispatchA (
in somId methodId,
in somId descriptor,
in va_list args);
Obsolete. Like somDispatch, but restricted to methods that return a pointer. The va_list must not include the target
object. This method has been superseded by somDispatch and is included solely for backward
compatibility.
double somDispatchD (
in somId methodId,
in somId descriptor,
in va_list args);
Obsolete. As above, but restricted to methods that return a double precision floating point.
long somDispatchL (
in somId methodId,
in somId descriptor,
in va_list args);
Obsolete. As above, but restricted to methods that return a long.
void somDispatchV (
in somId methodId,
in somId descriptor,
in va_list args);
Obsolete. As above, but restricted to methods that return void.
void somDumpSelf (
in long level);
Clients of an object use this method to write out a detailed description of the object.
void somDumpSelfInt (
in long level);
Implementors of a class override this method to support somDumpSelf.
Commenti su questo manuale