22 #ifndef DBALLE_MSG_WRIMPORTER_BASE_H
23 #define DBALLE_MSG_WRIMPORTER_BASE_H
25 #include <dballe/msg/wr_codec.h>
43 const wreport::Subset* subset;
46 virtual void init() {}
47 virtual void run() = 0;
53 virtual MsgType scanType(
const wreport::Bulletin& bulletin)
const = 0;
55 void import(
const wreport::Subset& subset,
Msg& msg)
57 this->subset = ⊂
78 void import_var(
const wreport::Var& var);