-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplace.h
More file actions
37 lines (28 loc) · 660 Bytes
/
place.h
File metadata and controls
37 lines (28 loc) · 660 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef _PLACE_HPP_
#define _PLACE_HPP_
#include <string>
class Place
{
public:
Place(const std::string & _PlaceNamed, const std::string & _city, const std::string & _country);
const std::string & GetPlaceNamed() const;
const std::string & GetCity() const;
const std::string & GetCountry() const;
private:
const std::string m_PlaceNamed;
const std::string m_city;
const std::string m_country;
};
inline const std::string & Place::GetPlaceNamed() const
{
return m_PlaceNamed;
}
inline const std::string & Place::GetCity() const
{
return m_city;
}
inline const std::string & Place::GetCountry() const
{
return m_country;
}
#endif //_PLACE_HPP_