Welcome to mirror list, hosted at ThFree Co, Russian Federation.

types.hpp « geocoder - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8b2f260e3945f3cc7f1f5f180bd06fd8fbbeedd6 (plain)
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
#pragma once

#include "base/string_utils.hpp"

#include <string>
#include <vector>

namespace geocoder
{
using Tokens = std::vector<std::string>;

enum class Type
{
  // It is important that the types are ordered from
  // the more general to the more specific.
  Country,
  Region,
  Subregion,
  Locality,
  Suburb,
  Sublocality,
  Street,
  Building,

  Count
};

std::string ToString(Type type);
std::string DebugPrint(Type type);
}  // namespace geocoder