// File: PublicEmployee.h // Definition of PublicEmployee, derived from Person #ifndef PUBLIC_EMPLOYEE #define PUBLIC_EMPLOYEE #include #include "Person.h" #include "GovernmentLevel.h" using namespace std; class PublicEmployee : public Person , public GovernmentLevel { public: PublicEmployee(const string &first,const string &last, const string &social, int birthMonth,int birthDay,int birthYear, GovernmentLevel entity,float amount); void setEntity(GovernmentLevel entity); void setSalary(float amount); float getSalary() const; virtual void print(ostream &dest) const; protected: GovernmentLevel which; float salary; friend ostream& operator<<(ostream &Dest,const PublicEmployee &PE); }; #endif