#include "Student.h" /**************************************************************** FUNCTION: Student() ARGUMENTS: none RETURNS: none NOTES: this is the Student class constructor ****************************************************************/ Student::Student() { count = 0; } /**************************************************************** FUNCTION: ~Student() ARGUMENTS: none RETURNS: none NOTES: this is the destructor for the Student class ****************************************************************/ Student::~Student() { } /**************************************************************** FUNCTION: incrementCount() ARGUMENTS: none RETURNS: none NOTES: This function increments count so that the number of classes added are counted on entry ****************************************************************/ void Student::incrementCount() { count = count + 1; } /**************************************************************** FUNCTION: getZID() ARGUMENTS: none RETURNS: ZID - returns the students ZID number NOTES: This function simply returns the students ZID# ****************************************************************/ string Student::getZID() const { return ZID; } /**************************************************************** FUNCTION: setZID(const string &x) ARGUMENTS: string x RETURNS: none NOTES: this function sets the students ZID with the value passed to it. ****************************************************************/ void Student::setZID(string &x) { ZID = x; } /**************************************************************** FUNCTION: getCount() const ARGUMENTS: none RETURNS: int count NOTES: this function returns the count of the number of classes added to the students registration etc ****************************************************************/ int Student::getCount() const { return count; } /**************************************************************** FUNCTION: infoPrint() ARGUMENTS: none RETURNS: none NOTES: this prints the students information, including the basic information, aswell as class information ****************************************************************/ void Student::infoPrint() { cout << getFirstName() << " " << getLastName() << " " << getSSN() << " " << getDOB() << " " << getGender()<< " " << getZID() << endl; /* int count = 0; while (count <= getCount()) { cout << setw(8) << getCourseID() << " " << setw(5) << getYearTaken() << " " << setw(7) << getSemesterTaken() << " " << setw(3) << getGrade() << endl; count++; } */ }