MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / write

Function write

include/extractor/serialization.hpp:35–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34template <storage::Ownership Ownership>
35inline void write(storage::tar::FileWriter &writer,
36 const std::string &name,
37 const detail::IntersectionBearingsContainer<Ownership> &intersection_bearings)
38{
39 storage::serialization::write(writer, name + "/bearing_values", intersection_bearings.values_);
40 storage::serialization::write(
41 writer, name + "/node_to_class_id", intersection_bearings.node_to_class_id_);
42 util::serialization::write(
43 writer, name + "/class_id_to_ranges", intersection_bearings.class_id_to_ranges_table_);
44}
45
46// read/write for properties file
47inline void

Callers 15

writeIntersectionsFunction · 0.70
writeProfilePropertiesFunction · 0.70
writeEdgeBasedGraphFunction · 0.70
writeNodesFunction · 0.70
writeNBGMappingFunction · 0.70
writeDatasourcesFunction · 0.70
writeSegmentDataFunction · 0.70
writeNodeDataFunction · 0.70
writeTurnLaneDataFunction · 0.70
writeTimestampFunction · 0.70
writeManeuverOverridesFunction · 0.70

Calls 4

GetBufferMethod · 0.80
WriteElementCount64Method · 0.45
WriteFromMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected