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


Public Methods | |
| faculty () | |
| virtual | ~faculty () |
| faculty (const faculty &f) | |
| const faculty & | operator= (const faculty &f) |
| virtual void | removec (int index) |
| Does nothing, but provide compatibility with personclass and special function for student class. More... | |
| virtual void | removea (int index) |
| virtual void | removes (int index) |
| vectorint | getCourses () const |
| vectorstring | getInterests () const |
| void | setCourses (const vectorint &courses) |
| void | setInterests (const vectorstring &interests) |
| string | ToParse (int fld) |
| Gets neccessary data to parse string. More... | |
| string | ToString () |
| Returns the field as a string. More... | |
| string | ToFileFmt () |
| Converts field to the current file format. More... | |
Protected Methods | |
| void | copy (const faculty &f) |
Protected Attributes | |
| vectorint | m_courses |
| vectorstring | m_resInterests |
|
|
|
|
|
|
|
|
|
|
|
Converts field to the current file format.
Reimplemented from employee. |
|
|
Gets neccessary data to parse string.
Reimplemented from employee. |
|
|
Returns the field as a string.
Reimplemented from employee. |
|
|
|
|
|
00036 {
00037 return m_courses;
00038 }
|
|
|
00041 {
00042 return m_resInterests;
00043 }
|
|
|
|
|
|
Reimplemented from employee. |
|
|
Does nothing, but provide compatibility with personclass and special function for student class.
Reimplemented from employee. |
|
|
Reimplemented from employee. |
|
|
00046 {
00047 m_courses.assign(courses.begin(),courses.end());
00048 }
|
|
|
00051 {
00052 m_resInterests.assign(interests.begin(), interests.end());
00053 }
|
|
|
|
|
|
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001