1 #ifndef OSMSCOUT_LABELPROVIDER_H 2 #define OSMSCOUT_LABELPROVIDER_H 52 virtual std::string GetLabel(
const MapParameter& parameter,
53 const FeatureValueBuffer& buffer)
const = 0;
58 virtual std::string GetName()
const = 0;
87 std::vector<size_t> nameLookupTable;
88 std::vector<size_t> nameAltLookupTable;
91 explicit INameLabelProvider(
const TypeConfig& typeConfig);
93 std::string GetLabel(
const MapParameter& parameter,
94 const FeatureValueBuffer& buffer)
const override;
96 inline std::string GetName()
const override 120 std::vector<size_t> lookupTable;
121 std::string featureName;
122 std::string labelName;
137 const std::string& featureName,
138 const std::string& labelName);
140 std::string GetLabel(
const MapParameter& parameter,
141 const FeatureValueBuffer& buffer)
const override;
145 return featureName +
"." + labelName;
std::string GetName() const override
Definition: LabelProvider.h:143
Definition: LabelProvider.h:117
std::shared_ptr< LabelProvider > LabelProviderRef
Definition: LabelProvider.h:61
std::shared_ptr< LabelProviderFactory > LabelProviderFactoryRef
Definition: LabelProvider.h:75
#define OSMSCOUT_MAP_API
Definition: MapImportExport.h:45
Definition: LabelProvider.h:39
Definition: LabelProvider.h:81
Definition: LabelProvider.h:67