-
Notifications
You must be signed in to change notification settings - Fork 0
/
Faculty.h
39 lines (32 loc) · 1.06 KB
/
Faculty.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include <string>
#include <iostream>
class Faculty : public Person {
public:
Faculty();
Faculty(unsigned int aID, string aname, string alevel, string adepartment, GenDlinkedlist<unsigned int>* adID);
~Faculty();
string getDepartment();
void setID(unsigned int ID);
void printinfo();
void printexit();
int listsize();
unsigned int removeadID(unsigned int& sID);
void addtolist(unsigned int aID);
friend bool operator== (const Faculty &f1, const Faculty &f2);
friend bool operator!= (const Faculty &f1, const Faculty &f2);
friend bool operator> (const Faculty &f1, const Faculty &f2);
friend bool operator< (const Faculty &f1, const Faculty &f2);
/*
string getDepartment();
// int* getAdviseeIDs();
void printAdviseeIDs();
void setDepartment(std::string newDepartment);
void setAdviseeIDs(int* newAdviseeIDs);
// bool equals(Object o);
void printFaculty();
*/
private:
string department;
GenDlinkedlist<unsigned int>* adviseeIDs;
friend class Simulation;
};