#ifndef _EMPLOYEE_H_ #define _EMPLOYEE_H_ // incomplete class and not fully documented #include #include #include #include using namespace std; class Employee { friend ostream& operator<<(ostream &, const Employee &); public: Employee(int = 0, int = 0, string = "dummyLast", string = "dummyFirst"); Employee(const Employee&); ~Employee(); bool setData(ifstream&); // fill object with data from file int getData() const; // get data that uniquely identifies object Employee& operator=(const Employee&); bool operator<(const Employee&) const; bool operator<=(const Employee&) const; bool operator>(const Employee&) const; bool operator>=(const Employee&) const; bool operator==(const Employee&) const; bool operator!=(const Employee&) const; private: string lastName; // employee's last name string firstName; // employee's first name int idNumber; // employee's ID number int salary; // employee's salary }; #endif