File stem: somcm
Base
SOMObject
Metaclass
SOMClass
Ancestor Classes SOMObject
Description
One instance of SOMClassMgr is created automatically during SOM initialization. This instance (pointed to by the global variable, SOMClassMgrObject ) acts as a run-time registry for all SOM class objects that exist within the current process and assists in the dynamic loading and unloading of class libraries.
You can subclass SOMClassMgr to augment the functionality of its registry. To have an instance of your subclass replace the SOM-supplied SOMClassMgrObject, use the somMergeInto method to place the existing registry information from SOMClassMgrObject into your new class-manager object.
Types
interface Repository;
SOMClass *SOMClassArray;
Attributes
Listed below is each available attribute with its corresponding type in parentheses, followed by a description of its purpose.
somInterfaceRepository (Repository)
sequence(SOMClass) clsList;
clsList = SOMClassMgr__get_somRegisteredClasses (SOMClassMgrObject);
somPrintf ("Currently registered classes:\n");
for (i=0; i<clsList._length; i++)
somPrintf ("\t%s\n", SOMClass_somGetName (clsList._buffer[i]));
SOMFree (clsList._buffer);
New methods
The following list shows all the SOMClassMgr methods.
Group: Basic Functions:
Group: Access:
Group: Dynamic:
Overridden methods
The following list shows all the methods overridden by the SOMClassMgr class. These methods are overridden in order to modify the behavior defined by an ancestor class.