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. More... | |
|
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::FeatureValueBuffer::GetType(), osmscout::FeatureValueBuffer::GetValue(), and osmscout::FeatureValueBuffer::HasFeature().
Referenced by osmscout::LocationDescriptionService::DescribeLocationByCrossing(), and osmscout::SimpleRoutingService::GetClosestRoutableObject().