libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::FeatureLabelReader< F, V > Class Template Reference

#include <TypeFeatures.h>

Public Member Functions

 FeatureLabelReader (const TypeConfig &typeConfig)
std::string GetLabel (const FeatureValueBuffer &buffer) const
 Returns the label of the given object. More...

Constructor & Destructor Documentation

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

Member Function Documentation

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

Returns the label of the given object.

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

Referenced by osmscout::LocationService::DescribeLocationByCrossing(), osmscout::LocationService::DescribeLocationByWay(), osmscout::LocationService::LoadNearAreas(), and osmscout::LocationService::LoadNearNodes().

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