/* CS471B Assignment 2: University Instructor: Wade Holst Submitted by: Dan Fraser Student number: 001219229 File Name: Department.h File description: Class definition of Department Composite Class */ #ifndef _DEPARTMENT_H_ #define _DEPARTMENT_H_ #include "DepartmentComponent.h" #include #include #include "Professor.h" #include "Person.h" class Department : public DepartmentComponent { public: ~Department(); // clean up and delete() all people void add(Person*); // add a person to the composite void del(Person*); // remove a person from the composite int getTopMark() const; // get the highest mark int getTotalStudents() const; // get the total nubmer of students int getTotalPeople() const; // get the total number of people Professor* getTopProfessor(); // get the top professor based on salary private: vector _people; // store the people }; #endif