00001
00002 #ifndef __J2K__Employee_HPP__
00003 #define __J2K__Employee_HPP__
00004
00005 #include <j2k/Fred/Standard.hpp>
00006 #include <j2k/Fred/Date.hpp>
00007
00008 class Employee {
00009 public:
00010 Employee( const char* first, const char* last );
00011 virtual ~Employee();
00012 const char* getFirstName() const;
00013 const char* getLastName() const;
00014
00015
00016 virtual double earnings() const = 0;
00017
00018 void printName() const;
00019 void printInfo() const;
00020
00021
00022
00023 static int getCount();
00024
00025 private:
00026 char* firstName;
00027 char* lastName;
00028
00029 Date* birthDate;
00030 Date* hireDate;
00031
00032
00033
00034 static int count;
00035 };
00036
00037 #endif
00038