somGetname - Example Code

#include <animal.h>   /* assume Animal defined in th        e Zoo module */
#include <string.h>
main()
{
  string className = Zoo_AnimalNewClass(0,0)->somGetName();
  SOM_Test(!strcmp(  className, "Zoo::Animal"));
}


[Back: somGetname - Related Methods]
[Next: somGetname - Topics]