Class that holds Course information
Dependents: Course_Example course_input class_finder
Course.h
- Committer:
- kkizirian
- Date:
- 2016-12-08
- Revision:
- 9:8fea357ee7a5
- Parent:
- 7:fe9fcb384036
File content as of revision 9:8fea357ee7a5:
#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 getHour_inMilitaryTime(); string getMinute_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(); };