|  | 
| FeatureValue * | AllocateValue (void *buffer) override | 
|  | 
| std::string | GetName () const override | 
|  | Returns the name of the feature. 
 | 
|  | 
| size_t | GetValueAlignment () const override | 
|  | If feature have value object, this method returns alignment requirements of the value type (alignof( type-id )). 
 | 
|  | 
| size_t | GetValueSize () const override | 
|  | A feature, if set for an object, can hold a value. 
 | 
|  | 
| void | Initialize (TagRegistry &tagRegistry) override | 
|  | Does further initialization based on the current TagRegistry. 
 | 
|  | 
| void | Parse (TagErrorReporter &reporter, const TagRegistry &tagRegistry, const FeatureInstance &feature, const ObjectOSMRef &object, const TagMap &tags, FeatureValueBuffer &buffer) const override | 
|  | 
| void | AddDescription (const std::string &languageCode, const std::string &description) | 
|  | Add a description of the feature for the given language code. 
 | 
|  | 
|  | Feature ()=default | 
|  | 
| std::string | GetDescription (const std::string &languageCode) const | 
|  | Returns the description for the given language code. 
 | 
|  | 
| const std::unordered_map< std::string, std::string > & | GetDescriptions () const | 
|  | 
| virtual size_t | GetFeatureBitCount () const | 
|  | This method returns the number of additional feature bits reserved. 
 | 
|  | 
| bool | GetFlagIndex (const std::string &flagName, size_t &index) const | 
|  | Returns the index of the feature flag with the given name. 
 | 
|  | 
| bool | GetLabelIndex (const std::string &labelName, size_t &index) const | 
|  | Returns the index of the label with the given name. 
 | 
|  | 
| virtual bool | HasFlags () const | 
|  | Returns 'true' if the feature provides flags. 
 | 
|  | 
| virtual bool | HasLabel () const | 
|  | Returns 'true' if the feature provides labels. 
 | 
|  | 
| virtual bool | HasValue () const | 
|  | Returns 'true' if the feature has an value object. 
 | 
|  | 
| virtual | ~Feature ()=default | 
|  | 
  
  | 
        
          | size_t osmscout::LayerFeature::GetValueSize | ( |  | ) | const |  | overridevirtual | 
 
A feature, if set for an object, can hold a value. 
If there is no value object, this method returns 0, else it returns the C++ size of the value object. 
Reimplemented from osmscout::Feature.