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

Function GetLocalizedFeeType

libs/indexer/feature_utils.cpp:242–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242string GetLocalizedFeeType(TypesHolder const & types)
243{
244 auto const & isFeeType = ftypes::IsFeeTypeChecker::Instance();
245 auto localized_types = GetLocalizedTypes(isFeeType, types);
246 ASSERT_LESS_OR_EQUAL(localized_types.size(), 1, ());
247 if (localized_types.empty())
248 return "";
249 return localized_types[0];
250}
251
252string GetReadableWheelchairType(TypesHolder const & types)
253{

Callers 3

FillDetailsFunction · 0.85
GetLocalizedFeeTypeMethod · 0.85
FormatSubtitleMethod · 0.85

Calls 3

GetLocalizedTypesFunction · 0.85
sizeMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected