This macro returns the class object of which a SOM object is an instance.
SOMObject objPtr; SOMClass rc; rc = SOM_GetClass(objPtr);