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

dumper.hpp « generator - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 08d27a2b313beb255b781dc05854d2c8b57d8ef2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include "std/string.hpp"

namespace feature
{
  void DumpTypes(string const & fPath);
  void DumpPrefixes(string const & fPath);

  // Writes top maxTokensToShow tokens sorted by their
  // frequency, i.e. by the number of features in
  // an mwm that contain the token in their name.
  void DumpSearchTokens(string const & fPath, size_t maxTokensToShow);

  // Writes the names of all features in the locale provided by lang
  // (e.g. "en", "ru", "sv"). If the locale is not recognized, writes all names
  // preceded by their locales.
  void DumpFeatureNames(string const & fPath, string const & lang);
}