1 | #pragma once |
---|---|
2 | |
3 | #include <IO/ReadBuffer.h> |
4 | #include "INamesProvider.h" |
5 | |
6 | |
7 | // Reads regions names list in geoexport format |
8 | class LanguageRegionsNamesFormatReader : public ILanguageRegionsNamesReader |
9 | { |
10 | private: |
11 | DB::ReadBufferPtr input; |
12 | |
13 | public: |
14 | LanguageRegionsNamesFormatReader(DB::ReadBufferPtr input_) : input(std::move(input_)) {} |
15 | |
16 | bool readNext(RegionNameEntry & entry) override; |
17 | }; |
18 |