libdballe
7.7
|
Public Member Functions | |
BufrImporter (const Options &opts=Options()) | |
bool | foreach_decoded (const BinaryMessage &msg, std::function< bool(std::unique_ptr< Message > &&)> dest) const override |
Decode a message from its raw encoded representation, calling dest on each resulting Message. More... | |
![]() | |
WRImporter (const Options &opts) | |
Messages | from_bulletin (const wreport::Bulletin &msg) const override |
Import a decoded BUFR/CREX message. | |
bool | foreach_decoded_bulletin (const wreport::Bulletin &msg, std::function< bool(std::unique_ptr< Message > &&)> dest) const |
Decode a message from its decoded bulletin, calling dest on each resulting Msg. More... | |
![]() | |
Importer (const Options &opts) | |
Messages | from_binary (const BinaryMessage &msg) const |
Decode a message from its raw encoded representation. More... | |
Additional Inherited Members | |
![]() | |
static std::unique_ptr< Importer > | create (File::Encoding type, const Options &opts=Options()) |
Instantiate the right importer for the given type. | |
![]() | |
Options | opts |
|
overridevirtual |
Decode a message from its raw encoded representation, calling dest on each resulting Message.
Return false from dest to stop decoding.
rmsg | Encoded message. |
dest | The function that consumes the decoded messages. |
Implements dballe::msg::Importer.