|
libosmscout 0.1
|
#include <FeatureReader.h>
Public Member Functions | |
| FeatureLabelReader (const TypeConfig &typeConfig) | |
| std::string | GetLabel (const FeatureValueBuffer &buffer) const |
| Returns the label of the given object. | |
|
explicit |
| std::string osmscout::FeatureLabelReader< F, V >::GetLabel | ( | const FeatureValueBuffer & | buffer | ) | const |
Returns the label of the given object.
| buffer | The FeatureValueBuffer instance |
References osmscout::TypeInfo::GetIndex(), osmscout::FeatureValueBuffer::GetType(), osmscout::FeatureValueBuffer::GetValue(), and osmscout::FeatureValueBuffer::HasFeature().
Referenced by osmscout::LocationDescriptionService::DescribeLocationByCrossing(), osmscout::LocationDescriptionService::DescribeLocationByHighwayMilestone(), and osmscout::SimpleRoutingService::GetClosestRoutableObject().