#ifndef EMPLOYEE
#define EMPLOYEE

#include <string> // declares string class

using namespace std;


class Employee
{
   public:

      // Postcondition: this employee's name has been set to ""
      //                and gross pay to 0.00.
      Employee();


      // Postcondition: true has been returned if this
      //                Employee is the sentinel.  Otherwise,
      //                false has been returned.
      bool isSentinel() const;


      // Postcondition: The name and gross pay of this Employee have
      //                been read in.
      void readInto();


      // Postcondition: this Employee's name and gross pay have been
      //                written out.
      void printOut() const;


      // Postcondition: this Employee contains a copy of otherEmployee.
      void getCopyOf (const Employee& otherEmployee);


      // Postcondition: true has been returned if this Employee's gross
      //                pay is greater than that of otherEmployee.
      //                Otherwise, false has been returned.
      bool makesMoreThan (const Employee& otherEmployee) const;


   private:
       string name;
       double grossPay;
       
       const static double GROSS_PAY_SENTINEL;
       const static string EMPTY_STRING;
       const static string NAME_SENTINEL;
}; // Employee

#endif

