libdballe
9.11
|
Options to control message export. More...
#include <exporter.h>
Public Member Functions | |
bool | operator== (const ExporterOptions &) const |
bool | operator!= (const ExporterOptions &) const |
void | print (FILE *out) |
Print a summary of the options to out. | |
std::string | to_string () const |
Generate a string summary of export options. | |
Static Public Member Functions | |
static std::unique_ptr< ExporterOptions > | create () |
Create with default values. | |
Public Attributes | |
std::string | template_name |
Name of template to use for output (leave empty to autodetect) | |
int | centre = MISSING_INT |
Originating centre. | |
int | subcentre = MISSING_INT |
Originating subcentre. | |
int | application = MISSING_INT |
Originating application ID. | |
Static Public Attributes | |
static const ExporterOptions | defaults |
Protected Member Functions | |
ExporterOptions ()=default | |
Create new Options initialised with default values. | |
ExporterOptions (const ExporterOptions &)=default | |
ExporterOptions (ExporterOptions &&)=default | |
ExporterOptions & | operator= (const ExporterOptions &)=default |
ExporterOptions & | operator= (ExporterOptions &&)=default |
Friends | |
class | Exporter |
Options to control message export.
To maintain ABI stability and allow to add options to this class, code using the stable ABI cannot create objects, but need to use the create() static methods.