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