home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / WPSDEM.ZIP / CMBSTDNT / STUDENT.SC < prev    next >
Text File  |  1992-08-21  |  1KB  |  60 lines

  1.  
  2. # This file was generated by the SOM Compiler.
  3. # FileName: .\STUDENT.sc.
  4. # Generated using:
  5. #     SOM Precompiler spc: 1.22
  6. #     SOM Emitter emitcsc: 1.10
  7. #include <somobj.sc>
  8.  
  9. class: Student, 
  10.     classprefix = StudentClass_, major version = 1, minor version = 1, 
  11.     global, file stem = STUDENT;
  12.  
  13.     --  "Student" class provides a base class to generate more
  14.     --  specialized students like "GraduateStudent" and
  15.     --  "UnderGraduateStudent".
  16.  
  17.  
  18. parent class: SOMObject;
  19.  
  20.  
  21. release order:
  22.     setUpStudent, printStudentInfo, getStudentType, 
  23.     getStudentID, SetStudentGPA, GetStudentGPA, 
  24.     countObjects;
  25.  
  26. methods:
  27. group: Overrides;
  28.  
  29. group: StudentMethods;
  30.  
  31.     void    setUpStudent(char *id,
  32.         char *name);
  33.  
  34.     --  sets up a new student
  35.  
  36.     void    printStudentInfo();
  37.  
  38.     --  prints the student information
  39.  
  40.     char *   getStudentType();
  41.  
  42.     char *   getStudentID();
  43.  
  44.     void    SetStudentGPA(int GPA);
  45.  
  46.     int    GetStudentGPA();
  47.  
  48. group: ClassMethods;
  49.  
  50.     override somInit, class;
  51.  
  52.     -- From SOMObject
  53.  
  54.     override somNew, class;
  55.  
  56.     -- From SOMClass
  57.  
  58.     int    countObjects(), class;
  59.  
  60.