Timetabler
Public Member Functions | List of all members
Field Class Referenceabstract

Class for a field. More...

#include <field.h>

Inheritance diagram for Field:
Inheritance graph
[legend]

Public Member Functions

virtual FieldType getType ()=0
 Gets the type of the Field, as a member of the FieldType enum. More...
 
virtual std::string getTypeName ()=0
 Gets the type name of the Field. More...
 

Detailed Description

Class for a field.

This is a virtual base class from which all fields inherit.

Member Function Documentation

virtual FieldType Field::getType ( )
pure virtual

Gets the type of the Field, as a member of the FieldType enum.

Returns
The type of the Field.

Implemented in Slot, Program, IsMinor, Classroom, Segment, and Instructor.

virtual std::string Field::getTypeName ( )
pure virtual

Gets the type name of the Field.

For example, the type name of the Field Classroom is "Classroom".

Returns
The type name of the Field.

Implemented in Slot, Program, IsMinor, Segment, Classroom, and Instructor.


The documentation for this class was generated from the following file: