libdballe 9.14
dballe::BulletinImporter Class Referenceabstract
Inheritance diagram for dballe::BulletinImporter:
dballe::Importer dballe::impl::msg::WRImporter dballe::impl::msg::BufrImporter dballe::impl::msg::CrexImporter

Public Member Functions

std::vector< std::shared_ptr< Message > > from_bulletin (const wreport::Bulletin &msg) const override=0
 Import a decoded BUFR/CREX message.
 Importer (const ImporterOptions &opts)
 Importer (const Importer &)=delete
 Importer (Importer &&)=delete
Public Member Functions inherited from dballe::Importer
 Importer (const Importer &)=delete
 Importer (Importer &&)=delete
Importer & operator= (const Importer &)=delete
Importer & operator= (Importer &&)=delete
virtual Encoding encoding () const =0
 Return the encoding for this importer.
std::vector< std::shared_ptr< Message > > from_binary (const BinaryMessage &msg) const
 Decode a message from its raw encoded representation.
virtual bool foreach_decoded (const BinaryMessage &msg, std::function< bool(std::shared_ptr< Message >)> dest) const =0
 Decode a message from its raw encoded representation, calling dest on each resulting Message.

Additional Inherited Members

Static Public Member Functions inherited from dballe::Importer
static std::unique_ptr< Importer > create (Encoding type, const ImporterOptions &opts=ImporterOptions::defaults)
 Instantiate an importer.
static std::unique_ptr< Importer > create (Encoding type, const std::string &opts)
 Instantiate an importer.
Protected Member Functions inherited from dballe::Importer
 Importer (const ImporterOptions &opts)
Protected Attributes inherited from dballe::Importer
ImporterOptions opts

Member Function Documentation

◆ from_bulletin()

std::vector< std::shared_ptr< Message > > dballe::BulletinImporter::from_bulletin ( const wreport::Bulletin & msg) const
overridepure virtual

Import a decoded BUFR/CREX message.

Reimplemented from dballe::Importer.

Implemented in dballe::impl::msg::WRImporter.


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