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

Method GetAllReadableTypes

libs/indexer/map_object.cpp:175–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175std::string MapObject::GetAllReadableTypes() const
176{
177 ASSERT(!m_types.Empty(), ());
178 feature::TypesHolder copy(m_types);
179 copy.SortBySpec();
180
181 std::ostringstream oss;
182
183 for (auto const type : copy)
184 oss << classif().GetReadableObjectName(type) << feature::kFieldsSeparator;
185
186 return oss.str();
187}
188
189std::string_view MapObject::GetMetadata(MetadataID type) const
190{

Callers

nothing calls this directly

Calls 4

ASSERTFunction · 0.85
SortBySpecMethod · 0.80
GetReadableObjectNameMethod · 0.80
EmptyMethod · 0.45

Tested by

no test coverage detected