25 enum class OutputTypeEnum {
38 {cloe::OutputTypeEnum::JSON_BZIP2 ,
"json.bz2" },
39 {cloe::OutputTypeEnum::JSON_GZIP ,
"json.gz" },
40 {cloe::OutputTypeEnum::JSON_ZIP ,
"json.zip" },
41 {cloe::OutputTypeEnum::JSON ,
"json" },
42 {cloe::OutputTypeEnum::MSGPACK_BZIP2,
"msgpack.bz2" },
43 {cloe::OutputTypeEnum::MSGPACK_GZIP ,
"msgpack.gz" },
44 {cloe::OutputTypeEnum::MSGPACK_ZIP ,
"msgpack.zip" },
45 {cloe::OutputTypeEnum::MSGPACK ,
"msgpack" },
49 namespace controller {
50 struct GndTruthExtractorConfiguration :
public Confable {
51 std::string output_file;
52 cloe::OutputTypeEnum output_type{cloe::OutputTypeEnum::JSON_GZIP};
53 std::vector<std::string> components;
55 CONFABLE_SCHEMA(GndTruthExtractorConfiguration) {
57 {
"components", Schema(&components,
"array of components to be extracted")},
58 {
"output_file", Schema(&output_file,
"file path to write groundtruth output to")},
59 {
"output_type", Schema(&output_type,
"type of output file to write")},
#define ENUM_SERIALIZATION(xType, xMap)
Definition: enum.hpp:51