Class that holds Course information
Dependents: Course_Example course_input class_finder
Course.h
- Committer:
- kkizirian
- Date:
- 2016-12-07
- Revision:
- 4:bc4b05dacca3
- Parent:
- 2:8f163dc0b6c4
- Child:
- 5:7d792c9848bb
File content as of revision 4:bc4b05dacca3:
#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(); string getHour_toString(); 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(); };