MCPcopy Create free account
hub / github.com/comaps/comaps / GetLocalizedFeatureType

Method GetLocalizedFeatureType

libs/search/result.cpp:92–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92std::string Result::GetLocalizedFeatureType() const
93{
94 switch (m_resultType)
95 {
96 case Type::Feature: return GetLocalizedTypeName(m_mainType);
97 case Type::Postcode: return localisation::TranslatedInterfaceText("postal_code");
98 default: return {};
99 }
100}
101
102std::string Result::GetFeatureDescription() const
103{

Callers 3

ToJavaResultFunction · 0.80
OnSearchResultsMethod · 0.80
GetResultTypeFunction · 0.80

Calls 2

TranslatedInterfaceTextFunction · 0.85
GetLocalizedTypeNameFunction · 0.70

Tested by

no test coverage detected