23 #ifndef CLOE_UTILITY_OUTPUT_SERIALIZER_MSGPACK_HPP_ 24 #define CLOE_UTILITY_OUTPUT_SERIALIZER_MSGPACK_HPP_ 34 enum class MsgPackFileType {
42 {cloe::utility::MsgPackFileType::MSGPACK_GZIP ,
"msgpack.gz" },
43 {cloe::utility::MsgPackFileType::MSGPACK_ZIP ,
"msgpack.zip" },
44 {cloe::utility::MsgPackFileType::MSGPACK ,
"msgpack" },
48 template <typename T, typename... TSerializerArgs>
54 std::string make_default_filename(
const std::string& default_filename)
override {
55 return default_filename +
".msg";
57 void start_array()
override {}
58 void end_array()
override { base::write(Json::to_msgpack(Json(data_))); }
67 #endif // CLOE_UTILITY_OUTPUT_SERIALIZER_MSGPACK_HPP_
Definition: coordinator.hpp:36
#define ENUM_SERIALIZATION(xType, xMap)
Definition: enum.hpp:52
Definition: output_serializer_msgpack.hpp:49
Definition: output_serializer.hpp:62