Class that holds Course information
Dependents: Course_Example course_input class_finder
Course.h
- Committer:
- kkizirian
- Date:
- 2016-12-07
- Revision:
- 2:8f163dc0b6c4
- Parent:
- 0:72f706b36195
- Child:
- 4:bc4b05dacca3
File content as of revision 2:8f163dc0b6c4:
#include "mbed.h" #include <string> #include <map> class Course { public: Course(string pAbbreviatedName, int pHour, int pMinute, string ampm); string getFullName(); string getAbbreviatedName(); int getHour(); int getHour_forCompare(); int getMinute(); string getAMPM(); int getAMPM_toInt(); float getLat(); float getLong(); string getFileString(); string getDisplayString(); private: string abbreviatedName; string fullName; int hour; int minute; float latitude; float longitude; static map<string, float> buildingLAT; static map<string, float> buildingLONG; static map<string, string> buildingNames; string ampm; void createBuildingMaps(); };