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

Method FeatureType

libs/indexer/feature.cpp:195–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193} // namespace
194
195FeatureType::FeatureType(SharedLoadInfo const * loadInfo, vector<uint8_t> && buffer)
196 : m_loadInfo(loadInfo)
197 , m_data(std::move(buffer))
198{
199 CHECK(m_loadInfo, ());
200
201 m_header = Header(m_data); // Parse the header and optional name/layer/addinfo.
202}
203
204std::unique_ptr<FeatureType> FeatureType::CreateFromMapObject(osm::MapObject const & emo)
205{

Callers

nothing calls this directly

Calls 1

HeaderFunction · 0.70

Tested by

no test coverage detected