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: 776fd71c18bdccf168dac053dc438861a748822c (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
#pragma once

#include "base/string_utils.hpp"

#include <string>
#include <vector>

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

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,
  Building,

  Count
};

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