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

Method FindType

libs/indexer/feature_data.cpp:478–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476}
477
478uint32_t FeatureParams::FindType(uint32_t comp, uint8_t level) const
479{
480 for (uint32_t const type : m_types)
481 if (ftype::Trunc(type, level) == comp)
482 return type;
483 return ftype::GetEmptyValue();
484}
485
486bool FeatureParams::IsValid() const
487{

Callers 2

GetPlaceTypeMethod · 0.80
BuildFromRelationMethod · 0.80

Calls 2

TruncFunction · 0.85
GetEmptyValueFunction · 0.85

Tested by

no test coverage detected