libdballe  7.6
Public Member Functions
dballe::msg::BufrExporter Class Reference
Inheritance diagram for dballe::msg::BufrExporter:
dballe::msg::WRExporter dballe::msg::Exporter

Public Member Functions

 BufrExporter (const Options &opts=Options())
 
virtual std::string to_binary (const Messages &msgs) const
 Encode a message. More...
 
virtual std::unique_ptr< wreport::Bulletin > make_bulletin () const
 Create a bulletin that works with this exporter. More...
 
- Public Member Functions inherited from dballe::msg::WRExporter
 WRExporter (const Options &opts)
 
std::unique_ptr< wreport::Bulletin > to_bulletin (const Messages &msgs) const override
 Import a decoded BUFR/CREX message.
 
std::unique_ptr< wr::Templateinfer_template (const Messages &msgs) const
 Infer a template name from the message contents.
 
- Public Member Functions inherited from dballe::msg::Exporter
 Exporter (const Options &opts)
 

Additional Inherited Members

- Static Public Member Functions inherited from dballe::msg::Exporter
static std::unique_ptr< Exportercreate (File::Encoding type, const Options &opts=Options())
 Instantiate the right importer for the given type.
 
- Protected Attributes inherited from dballe::msg::Exporter
Options opts
 

Member Function Documentation

virtual std::unique_ptr<wreport::Bulletin> dballe::msg::BufrExporter::make_bulletin ( ) const
virtual

Create a bulletin that works with this exporter.

Returns
the bulletin, or NULL of this is an exporter for a format not covered by Bulletin

Reimplemented from dballe::msg::Exporter.

virtual std::string dballe::msg::BufrExporter::to_binary ( const Messages msgs) const
virtual

Encode a message.

Parameters
msgsMessage to encode
Return values
rmsgThe resulting BinaryMessage

Implements dballe::msg::Exporter.


The documentation for this class was generated from the following file: