38 std::vector<int> programs;
std::string getName()
Gets the name of the Course.
MinorType getIsMinor()
Gets the 'is minor' index of the Course.
void setPrograms(std::vector< int >)
Sets the programs for which the Course is applicable.
std::vector< int > getPrograms()
Gets the indices of the programs of the Course.
void addClassroom(int)
Adds a classroom that is applicable to the Course.
void addProgram(int)
Adds a program that is applicable to the Course.
MinorType
Enum to represent the types of "Is Minor".
int getInstructor()
Gets the instructor index of the Course.
void addSlot(int)
Adds a slot that is applicable to the Course.
bool operator==(const Course &other)
Checks if two Course objects are identical, i.e., if they represent the same Course.
int getSegment()
Gets the segment index of the Course.
unsigned getClassSize()
Gets the class size of the Course.
int getSlot()
Gets the 'slot' index of the Course.
int getClassroom()
Gets the 'classroom' index of the Course.
Course(std::string, unsigned, int, int, MinorType)
Constructs the Course object.