SOM SubstituteClass

This macro provides a convenience macro for invoking the somSubstituteClass method.

Syntax
 oldClass; newClass; SOM_SubstituteClass(oldClass, newClass); 

Parameters

 * oldClass : The name of the class to be substituted, given as a simple token rather than a quoted string.


 * newClass : The name of the class that will replace oldClass, given as a simple token rather than a quoted string.

Remarks
The method somSubstituteClass requires existing class objects as arguments. Therefore, this macro first assures that the classes named oldClass and newClass exist, and then calls the method somSubstituteClass with these class objects as arguments.

Example Code
See the method somSubstituteClass.

Methods

 * somSubstituteClass