libdballe 9.14
dballe::impl::msg::JsonExporter Class Reference
Inheritance diagram for dballe::impl::msg::JsonExporter:
dballe::Exporter

Public Member Functions

 JsonExporter (const dballe::ExporterOptions &opts=dballe::ExporterOptions::defaults)
std::string to_binary (const std::vector< std::shared_ptr< dballe::Message > > &msgs) const override
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.
virtual std::unique_ptr< wreport::Bulletinto_bulletin (const std::vector< std::shared_ptr< Message > > &msgs) const
 Export to a Bulletin.
virtual std::unique_ptr< wreport::Bulletinmake_bulletin () const
 Create a bulletin that works with this exporter.

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

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