<classname>GetData and <classname>MethodDebug are class macros automatically generated by the SOM compiler and placed in the IH file. <classname>GetData gets the data for the object instance, somSelf, of the class.

Note: Methods that access the object's data use the <classname>GetData macro to establish addressability. This macro must be one of the first executable lines of code in each method, and the value it returns should be assigned to a local variable named somThis. The SOM compiler automatically generates the code that accomplishes this in each method stub in a C file.