somDumpSelfInt - Remarks

The somDumpSelfInt method should be overridden by a class implementor, to write out the instance data stored in an object. This method is invoked by the somDumpSelf method, which is used by object clients to output the state of an object.

The procedure used to override this method for a new class should begin by calling the parent class form of this method on each of the class parents, and should then write a description of the instance variables introduced by new class. This will result in a description of all the class's instance variables. The C and C++ implementation bindings provide a convenient macro for performing parent method calls on all parents, as illustrated below.

The character output routine pointed to by SOMOutCharRoutine should be used for output. The somLPrintf function is especially convenient for this, since level is handled appropriately.


[Back: somDumpSelfInt - Parameters]
[Next: somDumpSelfInt - Original Class]