Please send questions to
st10@humboldt.edu .
// declare a class Staff, representing a
// staff member at Stanford
// created by: Sharon M. Tuttle
// last modified: 10-13-03
#include <string>
using namespace std;
class Staff
{
public:
// constructors
Staff(string lName, string fName, string email,
double sal, bool isMgr);
Staff(string lName, string fName);
Staff();
// accessor functions
string get_lastName() const;
string get_firstName() const;
string get_emailAddress() const;
double get_salary() const;
bool get_isManagement() const;
// mutator functions
void set_lastName(string newLName);
void set_firstName(string newFName);
void set_emailAddress(string newEml);
void set_salary(double newSal);
void set_isManagement(bool newVal);
// any additional PUBLIC member functions
private:
// member variables
string lastName;
string firstName;
string emailAddress;
double salary;
bool isManagement;
// implementation-dependent constants
static const double MIN_WAGE = 6.75;
// implementation-dependent member functions
// (NOT for "public" use!)
};