#include <student.h>
Inheritance diagram for student:


Public Methods | |
| student () | |
| virtual | ~student () |
| student (const student &s) | |
| const student & | operator= (const student &rhs) |
| virtual void | removec (int cIndex) |
| These Three functions required from person. More... | |
| virtual void | removea (int index)=0 |
| virtual void | removes (int index) |
| int | getAdvisor () |
| major | getMajor () |
| vector< cGrade > | getCourses () |
| setAdvisor (const int &a) | |
| setMajor (const major &m) | |
| setCourses (const vector< cGrade > &c) | |
| string | ToParse () |
| string | ToString () |
| Returns the field as a string. More... | |
| string | ToFileFmt () |
| Converts field to the current file format. More... | |
Protected Methods | |
| void | copy (const student &s) |
Protected Attributes | |
| int | m_advisor |
| major | m_major |
| vector< cGrade > | m_courses |
|
|
|
|
|
|
|
|
|
|
|
Converts field to the current file format.
Reimplemented from person. |
|
|
|
|
|
Returns the field as a string.
Reimplemented from person. |
|
|
|
|
|
00068 {
00069 return m_advisor;
00070 }
|
|
|
00078 {
00079 return m_courses;
00080 }
|
|
|
00073 {
00074 return m_major;
00075 }
|
|
|
|
|
|
Reimplemented from person. |
|
|
These Three functions required from person.
Reimplemented from person. |
|
|
Reimplemented from person. |
|
|
00083 {
00084 m_advisor = a;
00085 }
|
|
|
00093 {
00094 m_courses = c;
00095 }
|
|
|
00088 {
00089 m_major = m;
00090 }
|
|
|
|
|
|
|
|
|
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001