libdballe 9.14
dballe::impl::msg::CrexExporter Class Reference
Inheritance diagram for dballe::impl::msg::CrexExporter:
dballe::impl::msg::WRExporter dballe::BulletinExporter dballe::Exporter

Public Member Functions

 CrexExporter (const dballe::ExporterOptions &opts=dballe::ExporterOptions::defaults)
std::string to_binary (const Messages &msgs) const override
std::unique_ptr< wreport::Bulletinmake_bulletin () const override
 Create a bulletin that works with this exporter.
Public Member Functions inherited from dballe::impl::msg::WRExporter
 WRExporter (const dballe::ExporterOptions &opts)
std::unique_ptr< wreport::Bulletinto_bulletin (const std::vector< std::shared_ptr< dballe::Message > > &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::BulletinExporter
std::unique_ptr< wreport::Bulletinto_bulletin (const std::vector< std::shared_ptr< Message > > &msgs) const override=0
 Export to a Bulletin.
 Exporter (const ExporterOptions &opts)
 Exporter (const Exporter &)=delete
 Exporter (Exporter &&)=delete
Public Member Functions inherited from dballe::Exporter
 Exporter (const Exporter &)=delete
 Exporter (Exporter &&)=delete
Exporter & operator= (const Exporter &)=delete
Exporter & operator= (Exporter &&)=delete
virtual std::string to_binary (const std::vector< std::shared_ptr< Message > > &messages) const =0
 Encode a message.

Additional Inherited Members

Static Public Member Functions inherited from dballe::Exporter
static std::unique_ptr< Exporter > create (Encoding type, const ExporterOptions &opts=ExporterOptions::defaults)
 Instantiate the right importer for the given type.
Protected Member Functions inherited from dballe::Exporter
 Exporter (const ExporterOptions &opts)
Protected Attributes inherited from dballe::Exporter
ExporterOptions opts

Member Function Documentation

◆ make_bulletin()

std::unique_ptr< wreport::Bulletin > dballe::impl::msg::CrexExporter::make_bulletin ( ) const
overridevirtual

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::Exporter.


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