Jump to content

somRegisterClass

From EDM2

This method adds a class object to the SOM run-time class registry.

Note: For backward compatibility, this method does not take an Environment parameter.

Original Class
SOMClassMgr

Syntax

void somRegisterClass (SOMClassMgr receiver, SOMClass classObj)

Parameters

receiver (SOMClassMgr)
Usually SOMClassMgrObject (or a pointer to an instance of a user-supplied subclass of SOMClassMgr).
classObj (SOMClass)
A pointer to the class object to add to the SOM class registry.

Return Code

rc (void)

Remarks

The somRegisterClass method adds a class object to the SOM run-time class registry maintained by SOMClassMgrObject.

All SOM run-time class objects should be registered with the SOMClassMgrObject. This is done automatically during the execution of the somClassReady method as class objects are created.

Example Code

Related

Methods