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

Method GetType

generator/feature_merger.cpp:280–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278}
279
280uint32_t FeatureTypesProcessor::GetType(char const * arr[], size_t n)
281{
282 uint32_t const type = classif().GetTypeByPath(std::vector<std::string>(arr, arr + n));
283 CHECK_NOT_EQUAL(type, ftype::GetEmptyValue(), ());
284 return type;
285}
286
287void FeatureTypesProcessor::CorrectType(uint32_t & t) const
288{

Callers 15

ForEachWayFromFileFunction · 0.45
ProcessMethod · 0.45
GetMostGenericOsmIdMethod · 0.45
IsWorldMwmFunction · 0.45
AddRelationMethod · 0.45
HandleMethod · 0.45
ProcessMethod · 0.45
CalcCrossMwmTransitionsFunction · 0.45
CanApplyMethod · 0.45
IsWorsePlaceFunction · 0.45
FindClustersFunction · 0.45
ProcessPlacesMethod · 0.45

Calls 2

GetEmptyValueFunction · 0.85
GetTypeByPathMethod · 0.80

Tested by

no test coverage detected