// Project 4 : Employee Database Part 4 // Programmer : Sean Smith // Class : CSC215 // Professor : Phill Miller // Employee.h #pragma once #ifndef EMPLOYEE_H_ #define EMPLOYEE_H_ // Initialize Person Namespace namespace Human { // [EMPLOYEE CLASS] ==================================================================== class Employee { private: char* e_name; char* e_job; float e_wage; float e_hours; float e_pay; public: // [CONSTRUCTORS] =================================================================== Employee(); Employee(const char* initName, const char* initJob, float initWage, float initHours, float initPay); // [ACCESSORS] ====================================================================== const char* GetName() const; const char* GetJob() const; float GetWage() const; float GetHours() const; float GetPay() const; // [Mutators] ======================================================================= void SetName(const char* employeeName); void SetJob(const char* employeeJob); void SetWage(float employeeWage); void SetHours(float employeeHours); void SetPay(float employeePay); // [METHODS - MEMBER FUNCTIONS] ===================================================== bool IsHighlyPaid(float employeeWage, float employeePay); float CalculatePay(float employeeWage, float employeeHours); // [DESTRUCTORS] ==================================================================== ~Employee(); }; } #endif