libosmscout  1.1.1
Public Member Functions | List of all members
osmscout::FeatureLabelReader< F, V > Class Template Reference

#include <libosmscout/include/osmscout/FeatureReader.h>

Public Member Functions

 FeatureLabelReader (const TypeConfig &typeConfig)
 
std::string GetLabel (const FeatureValueBuffer &buffer) const
 

Constructor & Destructor Documentation

◆ FeatureLabelReader()

template<class F , class V >
osmscout::FeatureLabelReader< F, V >::FeatureLabelReader ( const TypeConfig &  typeConfig)
explicit

Member Function Documentation

◆ GetLabel()

template<class F , class V >
std::string osmscout::FeatureLabelReader< F, V >::GetLabel ( const FeatureValueBuffer &  buffer) const

Returns the label of the given object

Parameters
bufferThe FeatureValueBuffer instance
Returns
The label, if the given feature has a value and a label or a empty string

The documentation for this class was generated from the following file: