38 std::vector<int> programs;
56 Course(std::string,
unsigned,
int,
int,
int);
57 Course(std::string,
unsigned,
int,
int,
int, std::vector<int>);
60 void addClassroom(
int);
std::string getName()
Gets the name of the Course.
Definition: course.cpp:91
Class for a course.
Definition: course.h:16
void setPrograms(std::vector< int >)
Sets the programs for which the Course is applicable.
Definition: course.cpp:55
std::vector< int > getPrograms()
Gets the indices of the programs of the Course.
Definition: course.cpp:105
void addProgram(int)
Adds a program that is applicable to the Course.
Definition: course.cpp:64
int getInstructor()
Gets the instructor index of the Course.
Definition: course.cpp:98
Course(std::string, unsigned, int, int, int)
Constructs the Course object.
Definition: course.cpp:19
int getIsMinor()
Gets the 'is minor' index of the Course.
Definition: course.cpp:119
bool operator==(const Course &other)
Checks if two Course objects are identical, i.e., if they represent the same Course.
Definition: course.cpp:82
int getSegment()
Gets the segment index of the Course.
Definition: course.cpp:112
unsigned getClassSize()
Gets the class size of the Course.
Definition: course.cpp:134