std::string getTypeName()
Gets the type name, which is "Classroom".
FieldType
Enum that represents all the field types.
bool sizeLessThan(const Classroom &other)
Checks if the size of this Classroom is less than the size of another.
Classroom(std::string, unsigned)
Constructs the object.
bool operator==(const Classroom &other)
Overloads the == operator to check for equality.
unsigned getSize()
Gets the size of the Classroom.
FieldType getType()
Gets the type under the FieldType enum.
std::string getName()
Gets the class number of the Classroom.