libdballe 9.6
Public Member Functions | Public Attributes | List of all members
dballe::cmdline::Filter Struct Reference

Public Member Functions

 Filter (const ReaderOptions &opts)
 
void set_index_filter (const std::string &val)
 
void matcher_reset ()
 Reset to the empty matcher.
 
void matcher_from_record (const Query &query)
 Initialise the matcher from a record.
 
bool match_index (int idx) const
 
bool match_common (const BinaryMessage &rmsg, const std::vector< std::shared_ptr< dballe::Message > > *msgs) const
 
bool match_msgs (const std::vector< std::shared_ptr< dballe::Message > > &msgs) const
 
bool match_bufrex (const BinaryMessage &rmsg, const wreport::Bulletin *rm, const std::vector< std::shared_ptr< dballe::Message > > *msgs) const
 
bool match_bufr (const BinaryMessage &rmsg, const wreport::Bulletin *rm, const std::vector< std::shared_ptr< dballe::Message > > *msgs) const
 
bool match_crex (const BinaryMessage &rmsg, const wreport::Bulletin *rm, const std::vector< std::shared_ptr< dballe::Message > > *msgs) const
 
bool match_json (const BinaryMessage &rmsg, const std::vector< std::shared_ptr< dballe::Message > > *msgs) const
 
bool match_item (const Item &item) const
 

Public Attributes

impl::ExporterOptions export_opts
 
int category = -1
 
int subcategory = -1
 
int checkdigit = -1
 
int unparsable = 0
 
int parsable = 0
 
IndexMatcher imatcher
 
Matchermatcher = nullptr
 

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