| 29 | |
| 30 | template <storage::Ownership Ownership> |
| 31 | inline void write(storage::tar::FileWriter &writer, |
| 32 | const std::string &name, |
| 33 | const guidance::detail::TurnDataContainerImpl<Ownership> &turn_data_container) |
| 34 | { |
| 35 | storage::serialization::write( |
| 36 | writer, name + "/turn_instructions", turn_data_container.turn_instructions); |
| 37 | storage::serialization::write( |
| 38 | writer, name + "/lane_data_ids", turn_data_container.lane_data_ids); |
| 39 | storage::serialization::write( |
| 40 | writer, name + "/entry_class_ids", turn_data_container.entry_class_ids); |
| 41 | storage::serialization::write( |
| 42 | writer, name + "/pre_turn_bearings", turn_data_container.pre_turn_bearings); |
| 43 | storage::serialization::write( |
| 44 | writer, name + "/post_turn_bearings", turn_data_container.post_turn_bearings); |
| 45 | } |
| 46 | } // namespace osrm::guidance::serialization |
| 47 | |
| 48 | #endif |