#ifndef GERMANAIRLINESVA_FILE_RECORDING_H #define GERMANAIRLINESVA_FILE_RECORDING_H #include #include #include #include "constants.h" #include "recordingEntry.h" namespace germanairlinesva { namespace file { namespace recording { /* * Path Recording (6 + n * 24) * HEADER | SEGMENTS * Header (6) * CHAR[5] | UINT8 * --------+-------- * VGAR | VERSION * Path Segments (n) * PATHSEGMENT[] */ class Recording { private: std::vector entries; public: template inline void addEntry(Args &&...args) { this->entries.emplace_back(std::forward(args)...); } void toFile(std::string fileName) const; }; } // namespace recording } // namespace file } // namespace germanairlinesva #endif