|
Timetabler
|
Class for an instructor. More...
#include <instructor.h>


Public Member Functions | |
| Instructor (std::string) | |
| Constructs the Instructor object. More... | |
| bool | operator== (const Instructor &other) |
| Checks if two Instructor objects are identical, i.e., if both have the same name. More... | |
| FieldType | getType () |
| Gets the type under the FieldType enum. More... | |
| std::string | getName () |
| Gets the name of the Instructor. More... | |
| std::string | getTypeName () |
| Gets the type name, which is "Instructor". More... | |
Class for an instructor.
Definition at line 13 of file instructor.h.
| Instructor::Instructor | ( | std::string | name | ) |
Constructs the Instructor object.
| [in] | name | The name of the Instructor, which uniquely identifies the Instructor |
Definition at line 12 of file instructor.cpp.
| std::string Instructor::getName | ( | ) |
Gets the name of the Instructor.
Definition at line 38 of file instructor.cpp.
|
virtual |
Gets the type under the FieldType enum.
Implements Field.
Definition at line 31 of file instructor.cpp.
|
virtual |
Gets the type name, which is "Instructor".
Implements Field.
Definition at line 45 of file instructor.cpp.
| bool Instructor::operator== | ( | const Instructor & | other | ) |
Checks if two Instructor objects are identical, i.e., if both have the same name.
| [in] | other | The Instructor with which the comparison is being made |
Definition at line 22 of file instructor.cpp.
1.8.13