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: 5424b7e82dbc56eae5b90d3d621747ac739eb589 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include <string>

namespace feature
{
  void DumpTypes(std::string const & fPath);
  void DumpPrefixes(std::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(std::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(std::string const & fPath, std::string const & lang);
}