#include "recording/recordingEntry.h" namespace germanairlinesva { namespace file { namespace recording { RecordingEntry::RecordingEntry(std::uint32_t time, std::uint16_t altitude, std::uint16_t groundSpeed, struct geodata::point coordinates) { this->time = time; this->altitude = altitude; this->groundSpeed = groundSpeed; this->coordinates = coordinates; }; void RecordingEntry::toFile(std::ofstream &out) const { writetime)>(out, this->time); writealtitude)>(out, this->altitude); writegroundSpeed)>(out, this->groundSpeed); writecoordinates)>(out, this->coordinates); } } // namespace recording } // namespace file } // namespace germanairlinesva