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

Function GetLocalizedTypes

libs/indexer/feature_utils.cpp:46–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46vector<string> GetLocalizedTypes(ftypes::BaseChecker const & checker, TypesHolder const & types)
47{
48 auto const & c = classif();
49 vector<string> localized;
50 for (auto const t : types)
51 if (checker(t))
52 localized.push_back(localisation::TranslatedFeatureType(c.GetReadableObjectName(t)));
53 return localized;
54}
55
56class FeatureEstimator
57{

Callers 2

GetLocalizedCuisinesFunction · 0.85
GetLocalizedFeeTypeFunction · 0.85

Calls 3

TranslatedFeatureTypeFunction · 0.85
GetReadableObjectNameMethod · 0.80
push_backMethod · 0.45

Tested by

no test coverage detected