| 62 | LatLonParser::LatLonParser() : m_info(nullptr), m_regexp(boost::regex(kFloatCoord + ", *" + kFloatCoord)) {} |
| 63 | |
| 64 | void LatLonParser::Reset(url::Url const & url, GeoURLInfo & info) |
| 65 | { |
| 66 | info.Reset(); |
| 67 | m_info = &info; |
| 68 | m_swapLatLon = MatchHost(url, "2gis") || MatchHost(url, "yandex"); |
| 69 | m_latPriority = m_lonPriority = -1; |
| 70 | } |
| 71 | |
| 72 | bool LatLonParser::IsValid() const |
| 73 | { |