forked from CanadianBac0nz/2404a4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Application.h
49 lines (37 loc) · 1.11 KB
/
Application.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
40
41
42
43
44
45
46
47
48
49
/////////////////////////////////////////////////////////////////////////
// APPLICATION CLASS
// Contains all of the attributes and functions of an application
#ifndef APPLICATION_H
#define APPLICATION_H
#include "Types.h"
class Course;
class TACourseQueue;
class WorkExpQueue;
enum Status { PENDING=0, ACCEPTED=1, CLOSED=2 };
class Application {
public:
Application();
~Application();
Course* getCourse() const;
Status getStatus() const;
int getAppNum() const;
string getStatusString(Status) const;
TACourseQueue* getTACrsQueue() const;
WorkExpQueue* getWorkExpQueue() const;
void setCourse(Course*);
void setStatus(Status);
void setAppNum(int);
void setTACrsQueue(TACourseQueue*);
void setWorkExpQueue(WorkExpQueue*);
void print() const;
Application operator-();
Application operator+();
private:
Course* course;
Status status;
int appNum;
// Linked lists
TACourseQueue* tACrsQueue;
WorkExpQueue* workExp;
};
#endif