FieldType getType()
Gets the type under the FieldType enum.
Definition: instructor.cpp:31
Class for a field.
Definition: field.h:14
Instructor(std::string)
Constructs the Instructor object.
Definition: instructor.cpp:12
Class for an instructor.
Definition: instructor.h:13
bool operator==(const Instructor &other)
Checks if two Instructor objects are identical, i.e., if both have the same name. ...
Definition: instructor.cpp:22
FieldType
Enum that represents all the field types.
Definition: global.h:9
std::string getTypeName()
Gets the type name, which is "Instructor".
Definition: instructor.cpp:45
std::string getName()
Gets the name of the Instructor.
Definition: instructor.cpp:38