#ifndef EMPLOYEE_CPP
#define EMPLOYEE_CPP
#include <iostream>
#include <string>
#include <cstdlib>
#include "Employee.h"

using namespace std;

Employee::Employee() : Employee("Unknown name", "Unknown Ssn"){}
	Employee::Employee(const string& theName, const string& theSsn): name(theName), ssn(theSsn), netPay(0){}

	string Employee::getName() const{
		return name;
		}

	string Employee::getSsn() const{
		return ssn;
		}

	double Employee::getNetPay() const{
		return netPay;
		}

	void Employee::setName(const string& theName){
		name=theName;
		}

	void Employee::setSsn(const string& theSsn){
		ssn=theSsn;
		}

	void Employee::setNetPay(double newNetPay){
		netPay=newNetPay;
		}

	void Employee::printCheck() const {
		cerr<<"error: printCheck function called on an " <<endl 
			<<"undifferentiated employee. Aborting the program ..." <<endl;
		exit(1);

		}


#endif
