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