2-9
SOM Kernel Quick Reference
SOMObject somNew ();
Creates a new instance of the receiving class and calls somInit to initialize it.
SOMObject somNewNoInit ();
Creates a new instance of a class, but does not initialize it.
SOMObject somRenew (
in somToken memPtr);
Creates a new object instance of the receiver class in the indicated memory location. Zeros memory, and calls
somInit to re-initialize the object.
SOMObject somRenewNoInit (
in somToken memPtr);
Like somRenew, but does not call somInit to initialize it.
SOMObject somRenewNoZero (
in somToken memPtr);
Like somRenew, but does not zero memory.
SOMObject somRenewNoInitNoZero (
in somToken memPtr);
Like somRenew, but does not call somInit and does not zero memory.
boolean somSupportsMethod (
in somId methodId);
Indicates whether instances of a given class support a given (static or dynamic) method.
SOMClassMgr class
(see somcm.idl)
Note: Method prototypes for the SOM kernel classes are expressed using IDL syntax
for OIDL callstyle methods. That is, the receiver of the method is implicit, and the two possible
CORBA implicit arguments (environment and context) are not passed.
SOMClass somClassFromId (
in somId classId);
Finds a class object, given its ID, if it already exists. Does not load the class.
SOMClass somFindClass (
in somId classId,
in long majorVersion,
in long minorVersion);
Finds a class object, given its ID. If necessary, loads the class and initializes it.
SOMClass somFindClsInFile (
in somId classId,
in long majorVersion,
in long minorVersion,
in string file);
Finds a class object for a class when the correct file is known beforehand. If necessary, loads the class and
initializes it.
string somGetInitFunction ();
Obtains the name of the function that initializes the SOM classes in a shared library.
Komentáře k této Příručce