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

Function GetRoadShieldsNames

libs/indexer/road_shields_parser.cpp:1027–1035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1025}
1026
1027std::vector<std::string> GetRoadShieldsNames(FeatureType & ft)
1028{
1029 std::vector<std::string> names;
1030 auto const & ref = ft.GetRef();
1031 if (!ref.empty() && IsStreetOrSquareChecker::Instance()(ft))
1032 for (auto && shield : GetRoadShields(ref))
1033 names.push_back(std::move(shield.m_name));
1034 return names;
1035}
1036
1037std::string DebugPrint(RoadShieldType shieldType)
1038{

Callers 5

operator()Method · 0.85
FillDetailsFunction · 0.85
GetNameScoresFunction · 0.85
MatchesMethod · 0.85
SetFromFeatureTypeMethod · 0.85

Calls 3

GetRoadShieldsFunction · 0.85
emptyMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected