1 #ifndef DBALLE_EXPORTER_H 2 #define DBALLE_EXPORTER_H 4 #include <dballe/fwd.h> 30 int centre = MISSING_INT;
32 int subcentre = MISSING_INT;
34 int application = MISSING_INT;
41 void print(FILE* out);
44 std::string to_string()
const;
47 static std::unique_ptr<ExporterOptions> create();
89 virtual std::string to_binary(
const std::vector<std::shared_ptr<Message>>& messages)
const = 0;
94 virtual std::unique_ptr<wreport::Bulletin> to_bulletin(
const std::vector<std::shared_ptr<Message>>& msgs)
const = 0;
102 virtual std::unique_ptr<wreport::Bulletin> make_bulletin()
const;
106 static std::unique_ptr<Exporter> create(Encoding type,
const ExporterOptions& opts=ExporterOptions::defaults);
std::string template_name
Name of template to use for output (leave empty to autodetect)
Definition: exporter.h:28
Message exporter interface.
Definition: exporter.h:66
Options to control message export.
Definition: exporter.h:24