00001
00002
00003
00004 #if !defined(employee_h)
00005 #define employee_h
00006 #include <string>
00007
00008 using namespace std;
00009
00010
00011
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
00039
00040 double m_salary;
00041
00042
00043
00044 string m_department;
00045
00046
00047
00048 string m_medPlan;
00049
00050
00051
00052 string m_retPlan;
00053
00054
00055
00056 string m_lifeIns;
00057
00058 private:
00059
00060
00061 };
00062
00063 #endif