yatbcpp  0.0.1
Yet another Telegram Bot CPP Library
Location.cc
Go to the documentation of this file.
1 #include <string>
2 #include "types/Location.h"
3 
4 using namespace yatbcpp;
5 using namespace std;
6 
8 // Constructor Section //
10 
11 Location::Location(float longitude, float latitude):
12  longitude(longitude), latitude(latitude)
13 {
14 
15 }
16 
18  longitude(Location.longitude), latitude(Location.latitude)
19 {
20 
21 }
22 
23 
25 // Setter Section //
27 
28 
29 
31 // Getter Section //
33 
34 float Location::getLongitude() const {
35  return longitude;
36 }
37 
38 float Location::getLatitude() const {
39  return latitude;
40 }
Location(float longitude, float latitude)
Definition: Location.cc:11
Definition: Bot.h:27
float getLatitude() const
Definition: Location.cc:38
float getLongitude() const
Definition: Location.cc:34