Timetabler
is_minor.h
Go to the documentation of this file.
1 
3 #ifndef IS_MINOR_H
4 #define IS_MINOR_H
5 
6 #include "fields/field.h"
7 #include "global.h"
8 
16 enum MinorType {
25 };
26 
32 class IsMinor : public Field {
33  private:
38  MinorType minorType;
39 
40  public:
42  IsMinor(bool);
45  std::string getTypeName();
46  std::string getName();
47 };
48 
49 #endif
IsMinor(MinorType)
Constructs the IsMinor object.
Definition: is_minor.cpp:11
MinorType getMinorType()
Gets the minor type of the Course.
Definition: is_minor.cpp:38
Class for "is minor".
Definition: is_minor.h:32
Class for a field.
Definition: field.h:14
Definition: is_minor.h:20
FieldType getType()
Gets the type under the FieldType enum.
Definition: is_minor.cpp:31
Definition: is_minor.h:24
MinorType
Enum to represent the types of "Is Minor".
Definition: is_minor.h:16
std::string getName()
Gets whether the Course is a minor course or not.
Definition: is_minor.cpp:52
FieldType
Enum that represents all the field types.
Definition: global.h:9
std::string getTypeName()
Gets the type name, which is "Minor Type".
Definition: is_minor.cpp:45