Class that holds Course information

Dependents:   Course_Example course_input class_finder

Committer:
kkizirian
Date:
Mon Dec 05 00:31:29 2016 +0000
Revision:
0:72f706b36195
Child:
2:8f163dc0b6c4
first commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
kkizirian 0:72f706b36195 1 #include "mbed.h"
kkizirian 0:72f706b36195 2 #include <string>
kkizirian 0:72f706b36195 3 #include <map>
kkizirian 0:72f706b36195 4
kkizirian 0:72f706b36195 5 class Course {
kkizirian 0:72f706b36195 6 public:
kkizirian 0:72f706b36195 7 Course(string pAbbreviatedName, int pHour, int pMinute, string ampm);
kkizirian 0:72f706b36195 8 string getFullName();
kkizirian 0:72f706b36195 9 string getAbbreviatedName();
kkizirian 0:72f706b36195 10 int getHour();
kkizirian 0:72f706b36195 11 int getMinute();
kkizirian 0:72f706b36195 12 string getAMPM();
kkizirian 0:72f706b36195 13 int getAMPM_toInt();
kkizirian 0:72f706b36195 14 float getLat();
kkizirian 0:72f706b36195 15 float getLong();
kkizirian 0:72f706b36195 16 string getFileString();
kkizirian 0:72f706b36195 17 string getDisplayString();
kkizirian 0:72f706b36195 18 private:
kkizirian 0:72f706b36195 19 string abbreviatedName;
kkizirian 0:72f706b36195 20 string fullName;
kkizirian 0:72f706b36195 21 int hour;
kkizirian 0:72f706b36195 22 int minute;
kkizirian 0:72f706b36195 23 float latitude;
kkizirian 0:72f706b36195 24 float longitude;
kkizirian 0:72f706b36195 25 static map<string, float> buildingLAT;
kkizirian 0:72f706b36195 26 static map<string, float> buildingLONG;
kkizirian 0:72f706b36195 27 static map<string, string> buildingNames;
kkizirian 0:72f706b36195 28 string ampm;
kkizirian 0:72f706b36195 29 void createBuildingMaps();
kkizirian 0:72f706b36195 30 };