1 #ifndef OSMSCOUT_IMPORT_GENTEXTINDEX_H 2 #define OSMSCOUT_IMPORT_GENTEXTINDEX_H 34 class TextIndexGenerator
CLASS_FINAL :
public ImportModule
37 void GetDescription(
const ImportParameter& parameter,
38 ImportModuleDescription& description)
const override;
41 const ImportParameter ¶meter,
42 Progress &progress)
override;
45 uint8_t GetFileOffsetSizeBytes(
const ImportParameter ¶meter,
48 bool AddNodeTextToKeysets(
const ImportParameter ¶meter,
50 const TypeConfig &typeConfig,
51 uint8_t offsetSizeBytes);
53 bool AddWayTextToKeysets(
const ImportParameter ¶meter,
55 const TypeConfig &typeConfig,
56 uint8_t offsetSizeBytes);
58 bool AddAreaTextToKeysets(
const ImportParameter ¶meter,
60 const TypeConfig &typeConfig,
61 uint8_t offsetSizeBytes);
63 bool BuildKeyStr(
const std::string& text,
64 uint8_t offsetSizeBytes,
67 std::string& keyString)
const;
70 marisa::Keyset keysetPoi;
71 marisa::Keyset keysetLocation;
72 marisa::Keyset keysetRegion;
73 marisa::Keyset keysetOther;
78 #endif // OSMSCOUT_IMPORT_GENTEXTINDEX_H RefType
Definition: ObjectRef.h:131
#define CLASS_FINAL
Definition: Compiler.h:26
uint64_t FileOffset
Definition: OSMScoutTypes.h:47
std::shared_ptr< TypeConfig > TypeConfigRef
Definition: TypeConfig.h:1227