home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / WPSDEM.ZIP / CMBSTDNT / UNDRGRAD.C < prev    next >
Text File  |  1992-04-16  |  1KB  |  42 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: undrgrad.c.
  5.  * Generated using:
  6.  *     SOM Precompiler spc: 1.22
  7.  *     SOM Emitter emitc: 1.24
  8.  */
  9.  
  10. #define UnderGraduateStudent_Class_Source
  11. #include "undrgrad.ih"
  12.  
  13. SOM_Scope void   SOMLINK printStudentInfo(UnderGraduateStudent *somSelf)
  14. {
  15.     UnderGraduateStudentData *somThis = UnderGraduateStudentGetData(somSelf);
  16.     UnderGraduateStudentMethodDebug("UnderGraduateStudent","printStudentInfo");
  17.  
  18.     parent_printStudentInfo(somSelf);
  19.     printf( "             Grad Date: %s\n", _date );
  20. }
  21.  
  22. SOM_Scope char *  SOMLINK getStudentType(UnderGraduateStudent *somSelf)
  23. {
  24.     static char *type = "UnderGraduate";
  25.     UnderGraduateStudentData *somThis = UnderGraduateStudentGetData(somSelf);
  26.     UnderGraduateStudentMethodDebug("UnderGraduateStudent","getStudentType");
  27.  
  28.     return type;
  29. }
  30.  
  31. SOM_Scope void   SOMLINK setUpUnderGraduateStudent(UnderGraduateStudent *somSelf,
  32.                 char *id,
  33.                 char *name,
  34.                 char *date )
  35. {
  36.     UnderGraduateStudentData *somThis = UnderGraduateStudentGetData(somSelf);
  37.     UnderGraduateStudentMethodDebug("UnderGraduateStudent","setUpUnderGraduateStudent");
  38.  
  39.     _setUpStudent( somSelf, id, name );
  40.     strcpy( _date, date );
  41. }
  42.