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

Method ReadRelation

libs/indexer/shared_load_info.cpp:36–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36RouteRelationBase SharedLoadInfo::ReadRelation(uint32_t id) const
37{
38 auto reader = m_cont.GetReader(RELATIONS_FILE_TAG);
39 ReaderSource src(reader);
40 src.Skip(m_relTable->GetFeatureOffset(id));
41
42 RouteRelationBase res;
43 res.Read(src);
44 return res;
45}
46
47} // namespace feature

Callers

nothing calls this directly

Calls 4

GetFeatureOffsetMethod · 0.80
GetReaderMethod · 0.45
SkipMethod · 0.45
ReadMethod · 0.45

Tested by

no test coverage detected