Timetabler
field.h
Go to the documentation of this file.
1 
3 #ifndef FIELD_H
4 #define FIELD_H
5 
6 #include <string>
7 #include "global.h"
8 
14 class Field {
15  public:
22  virtual FieldType getType() = 0;
31  virtual std::string getTypeName() = 0;
32 };
33 
34 #endif
Class for a field.
Definition: field.h:14
virtual FieldType getType()=0
Gets the type of the Field, as a member of the FieldType enum.
virtual std::string getTypeName()=0
Gets the type name of the Field.
FieldType
Enum that represents all the field types.
Definition: global.h:9