@@ -33,7 +33,6 @@ using namespace cloe::utility; // NOLINT(build/namespaces)
33
33
#include " enumconfable.hpp" // for EnumConfable
34
34
35
35
namespace cloe {
36
- namespace controller {
37
36
38
37
enum OutputTypeEnum {
39
38
JSON_BZIP2,
@@ -49,18 +48,20 @@ enum OutputTypeEnum {
49
48
typedef EnumStringConfable<OutputTypeEnum> OutputType;
50
49
51
50
// clang-format off
52
- IMPLEMENT_ENUMSTRINGMAP (cloe::controller:: OutputTypeEnum)
53
- (cloe::controller:: OutputTypeEnum::JSON_BZIP2 , " json.bz2" )
54
- (cloe::controller:: OutputTypeEnum::JSON_GZIP , " json.gz" )
55
- (cloe::controller:: OutputTypeEnum::JSON_ZIP , " json.zip" )
56
- (cloe::controller:: OutputTypeEnum::JSON , " json" )
57
- (cloe::controller:: OutputTypeEnum::MSGPACK_BZIP2, " msgpack.bz2" )
58
- (cloe::controller:: OutputTypeEnum::MSGPACK_GZIP , " msgpack.gz" )
59
- (cloe::controller:: OutputTypeEnum::MSGPACK_ZIP , " msgpack.zip" )
60
- (cloe::controller:: OutputTypeEnum::MSGPACK , " msgpack" )
51
+ IMPLEMENT_ENUMSTRINGMAP (cloe::OutputTypeEnum)
52
+ (cloe::OutputTypeEnum::JSON_BZIP2 , " json.bz2" )
53
+ (cloe::OutputTypeEnum::JSON_GZIP , " json.gz" )
54
+ (cloe::OutputTypeEnum::JSON_ZIP , " json.zip" )
55
+ (cloe::OutputTypeEnum::JSON , " json" )
56
+ (cloe::OutputTypeEnum::MSGPACK_BZIP2, " msgpack.bz2" )
57
+ (cloe::OutputTypeEnum::MSGPACK_GZIP , " msgpack.gz" )
58
+ (cloe::OutputTypeEnum::MSGPACK_ZIP , " msgpack.zip" )
59
+ (cloe::OutputTypeEnum::MSGPACK , " msgpack" )
61
60
;
62
61
// clang-format on
63
62
63
+ namespace controller {
64
+
64
65
struct GndTruthExtractorConfiguration : public Confable {
65
66
std::string output_file;
66
67
OutputType output_type;
@@ -154,6 +155,7 @@ class GndTruthSerializerImpl
154
155
public:
155
156
GndTruthSerializerImpl (Logger& logger) : base1(logger), GndTruthSerializer() {}
156
157
virtual ~GndTruthSerializerImpl () override ;
158
+ using base1::open_file;
157
159
virtual void open_file (const std::string& filename) override {
158
160
std::string default_name = this ->outputstream_ .make_default_filename (
159
161
this ->serializer_ .make_default_filename (default_filename));
0 commit comments