Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

employee.h

Go to the documentation of this file.
00001 // employee.h
00002 //
00003 
00004 #if !defined(employee_h)
00005 #define employee_h
00006 #include <string>
00007 
00008 using namespace std;
00009 /*
00010  * This maintains all the information necessary for representing an
00011  * employee.
00012  */
00013 
00014 #include "person.h"
00015 
00016 
00017 class employee : public person
00018 {
00019 public:
00020     string getDept();
00021     employee();
00022     virtual ~employee();
00023     employee(const employee& e);
00024     const employee& operator=(const employee& rhs);
00026     virtual void removec(int cIndex)=0;
00027     virtual void removea(int index)=0;
00028     virtual void removes(int index)=0;
00029 
00030     virtual string ToParse(int fld);
00031     virtual string ToString();
00032     virtual string ToFileFmt();
00033 
00034 protected:
00035     void copy(const employee& e);
00036 
00037     /*
00038      * The employee's anual Salary.
00039      */
00040     double m_salary;
00041     /*
00042      * The person's department in which they work.
00043      */
00044     string m_department;
00045     /*
00046      * This person's medical plan.
00047      */
00048     string m_medPlan;
00049     /*
00050      * This persons retirement plan.
00051      */
00052     string m_retPlan;
00053     /*
00054      * This persons life insurance plan.
00055      */
00056     string m_lifeIns;
00057 
00058 private:
00059 
00060 
00061 };
00062 
00063 #endif /* employee_h */

Generated on Mon Oct 22 20:18:45 2001 for University People Management System by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001