2-8
SOMobjects Base Toolkit Quick Reference Guide
boolean somGetMethodData (
in somId methodId,
out somMethodData md);
Gets the method data for the indicated method, which must have been introduced by the receiver or an ancestor of
the receiver.
somId somGetMethodDescriptor (
in somId methodId);
Returns the method descriptor for a method.
long somGetMethodIndex (
in somId methodid);
Returns the index for the specified method. Can be used as input to somGetNthMethodData.
somMToken somGetMethodToken (
in somId methodId);
Returns a static method’s access token.
string somGetName ();
Obtains the name of the receiving class.
boolean somGetNthMethodData (
in long index,
out somMethodData md);
Loads the somMethodData structure for the nth (static or dynamic) method known to the receiver class, given the
index to the method. See also somGetNumMethods and somGetNumStaticMethods.
somId somGetNthMethodInfo (
in long index,
out somId descriptor);
Returns the method ID of the nth (static or dynamic) method known to this class. Also loads the location pointed to
by the passed descriptor address with a somId for the method descriptor.
long somGetNumMethods ();
Obtains the number of methods available for a class.
long somGetNumStaticMethods ();
Obtains the number of static methods available for a class.
SOMClassSequence somGetParents ();
Returns a sequence containing pointers to the parents of the receiver class.
void somGetVersionNumbers (
out long majorVersion,
out long minorVersion);
Gets the major and minor version numbers of the receiving class’s implementation code.
somMethodPtr somLookupMethod (
in somId methodId);
Like somFindSMethod except dynamic methods can also be returned. Used by bindings for name-lookup resolution.
Komentarze do niniejszej Instrukcji