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

Method HasMetadata

libs/indexer/feature.cpp:890–897  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

888}
889
890bool FeatureType::HasMetadata(feature::Metadata::EType type)
891{
892 ParseMetaIds();
893 if (m_metadata.Has(type))
894 return true;
895
896 return base::FindIf(m_metaIds, [&type](auto const & v) { return v.first == type; }) != m_metaIds.end();
897}
898
899FeatureType::RelationIDsV const & FeatureType::GetRelations()
900{

Callers 5

CreateTrackFunction · 0.45
CreateBookmarkFunction · 0.45
EmitWithMetadataMethod · 0.45
InitRankingInfoMethod · 0.45
GetLanesMetadataTagFunction · 0.45

Calls 3

FindIfFunction · 0.50
HasMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected