1#ifndef OSMSCOUT_FEATURE_LAYER_FEATURE_H
2#define OSMSCOUT_FEATURE_LAYER_FEATURE_H
54 void Read(FileScanner& scanner)
override;
55 void Write(FileWriter& writer)
override;
68 static const char*
const NAME;
80 const TagRegistry& tagRegistry,
81 const FeatureInstance& feature,
82 const ObjectOSMRef&
object,
84 FeatureValueBuffer& buffer)
const override;
#define OSMSCOUT_API
Definition CoreImportExport.h:45
Definition TypeFeature.h:41
Definition FeatureReader.h:143
Definition LayerFeature.h:62
void Initialize(TagRegistry &tagRegistry) override
void Parse(TagErrorReporter &reporter, const TagRegistry &tagRegistry, const FeatureInstance &feature, const ObjectOSMRef &object, const TagMap &tags, FeatureValueBuffer &buffer) const override
std::string GetName() const override
FeatureValue * AllocateValue(void *buffer) override
static const char *const NAME
Definition LayerFeature.h:68
size_t GetValueSize() const override
size_t GetValueAlignment() const override
void Read(FileScanner &scanner) override
void Write(FileWriter &writer) override
LayerFeatureValue()=default
void SetLayer(int8_t layer)
Definition LayerFeature.h:44
LayerFeatureValue(int8_t layer)
Definition LayerFeature.h:38
LayerFeatureValue & operator=(const FeatureValue &other) override
bool operator==(const FeatureValue &other) const override
int8_t GetLayer() const
Definition LayerFeature.h:49
Definition TagErrorReporter.h:33
std::unordered_map< TagId, std::string > TagMap
Definition Tag.h:41
FeatureValueReader< LayerFeature, LayerFeatureValue > LayerFeatureValueReader
Definition LayerFeature.h:87
uint16_t TagId
Definition Tag.h:39