Jump to content

somRegisterClass

From EDM2
Revision as of 19:36, 12 October 2017 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:somRegisterClass}} This method adds a class object to the SOM run-time class registry. '''Note:''' For backward compatibility, this method does not take an Env...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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