Please send questions to
st10@humboldt.edu .
/*--------------------------------------------------------
Header file for class Prof
created by: Sharon Tuttle
last modified: 10-9-03
---------------------------------------------------------*/
#include <string>
using namespace std;
class Prof
{
public:
// constructor(s)
Prof (string lname, string fname, string mname,
string ttl, string email, string offcHrs,
float sal);
// accessor functions
string get_lastName() const;
string get_firstName() const;
string get_middleName() const;
string get_title() const;
string get_emailAddress() const;
string get_officeHrs() const;
float get_salary() const;
// mutator functions
void set_lastName(string new_lname);
void set_firstName(string new_fname);
void set_middleName(string new_mname);
void set_title(string new_ttl);
void set_emailAddress(string new_email);
void set_officeHrs(string new_offHrs);
void set_salary(float new_sal);
private:
// member variables
string lastName;
string firstName;
string middleName;
string title;
string emailAddress;
string officeHrs;
float salary;
};