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

Function Load

generator/road_access_generator.hpp:34–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32
33template <class Source>
34void Load(Source & src, RoadAccess::Type & ac)
35{
36 uint8_t const res = ReadPrimitiveFromSource<uint8_t>(src);
37 CHECK_LESS(res, uint8_t(RoadAccess::Type::Count), ());
38 ac = static_cast<RoadAccess::Type>(res);
39}
40} // namespace routing
41
42namespace routing_builder

Callers 15

BuildCitiesIdsFunction · 0.70
ReadMethod · 0.70
DeserializeMethod · 0.70
ReadRoadPenaltyFunction · 0.70
LoaderMethod · 0.50
TestMaxspeedsSectionFunction · 0.50
UNIT_TESTFunction · 0.50
BuildTwoCubeGraphFunction · 0.50
UNIT_TESTFunction · 0.50
UNIT_TESTFunction · 0.50

Calls 2

ReadNonEmptyFunction · 0.85
resizeMethod · 0.45

Tested by 15

LoaderMethod · 0.40
TestMaxspeedsSectionFunction · 0.40
UNIT_TESTFunction · 0.40
BuildTwoCubeGraphFunction · 0.40
UNIT_TESTFunction · 0.40
UNIT_TESTFunction · 0.40
TestCameraCollectorMethod · 0.40
BuildTwoCubeGraphFunction · 0.40
UNIT_TESTFunction · 0.40
UNIT_TESTFunction · 0.40
TestAccessFixtureMethod · 0.40