1 #ifndef DBALLE_CMDLINE_CONVERSION_H
2 #define DBALLE_CMDLINE_CONVERSION_H
4 #include <dballe/cmdline/processor.h>
18 const char* dest_rep_memo;
19 const char* dest_template;
20 bool bufr2netcdf_categories;
24 Converter() : file(0), dest_rep_memo(0), dest_template(0), bufr2netcdf_categories(
false), exporter(0) {}
File object for doing I/O on binary message streams.
Definition: file.h:17
Definition: processor.h:98
void process_dba_msg_from_bulletin(const BinaryMessage &orig, const wreport::Bulletin &bulletin, const std::vector< std::shared_ptr< dballe::Message >> &msgs)
Perform conversion of decded data, using the original bulletin for type/subtype/localsubtype informat...
virtual bool operator()(const cmdline::Item &item)
Convert the item as configured in the Converter, and write it to the output file.
Message exporter interface.
Definition: exporter.h:66
Binary message.
Definition: file.h:130
Definition: conversion.h:15
void process_dba_msg(const BinaryMessage &orig, const std::vector< std::shared_ptr< dballe::Message >> &msgs)
Perform conversion of decoded data, auto-inferring type/subtype/localsubtype from the Messages conten...
Definition: processor.h:118
void process_bufrex_msg(const BinaryMessage &orig, const wreport::Bulletin &msg)
Perform conversion at the encoding level only (e.g.