Files
comaps/generator/postcode_points_builder.hpp
Konstantin Pastbin bfffa1fff4 Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-08-17 14:32:37 +07:00

26 lines
785 B
C++

#pragma once
#include <string>
namespace storage
{
class CountryInfoGetter;
}
namespace indexer
{
enum class PostcodePointsDatasetType
{
UK,
US
};
// Builds postcodes section with external postcodes data and writes it to the mwm file.
bool BuildPostcodePoints(std::string const & path, std::string const & country, PostcodePointsDatasetType type,
std::string const & datasetPath, bool forceRebuild);
// Exposed for testing.
bool BuildPostcodePointsWithInfoGetter(std::string const & path, std::string const & country,
PostcodePointsDatasetType type, std::string const & datasetPath,
bool forceRebuild, storage::CountryInfoGetter const & infoGetter);
} // namespace indexer