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

Method AddName

libs/indexer/feature_data.cpp:296–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296bool FeatureParams::AddName(string_view lang, string_view s)
297{
298 if (IsDummyName(s))
299 return false;
300
301 // The "default" new name will replace the old one if any (e.g. from SetHouseNumberAndHouseName call).
302 name.AddString(string{lang}, s);
303 return true;
304}
305
306bool FeatureParams::LooksLikeHouseNumber(std::string const & hn)
307{

Callers 1

MakeFeatureMethod · 0.45

Calls 2

IsDummyNameFunction · 0.85
AddStringMethod · 0.45

Tested by 1

MakeFeatureMethod · 0.36