libdballe
5.18
|
Match all subsets in turn, returning true if at least one subset matches. More...
#include <match-wreport.h>
Public Member Functions | |
MatchedBulletin (const wreport::Bulletin &r) | |
virtual matcher::Result | match_var_id (int val) const |
Match variable ID. | |
virtual matcher::Result | match_station_id (int val) const |
Match station ID. | |
virtual matcher::Result | match_station_wmo (int block, int station=-1) const |
Match station WMO code. | |
virtual matcher::Result | match_date (const int *min, const int *max) const |
Match date. | |
virtual matcher::Result | match_coords (int latmin, int latmax, int lonmin, int lonmax) const |
Match coordinates, with bounds in 1/100000 of degree. | |
virtual matcher::Result | match_rep_memo (const char *memo) const |
Match rep_memo. | |
Data Fields | |
const wreport::Bulletin & | r |
Protected Attributes | |
const MatchedSubset ** | subsets |
Match all subsets in turn, returning true if at least one subset matches.
virtual matcher::Result dballe::MatchedBulletin::match_coords | ( | int | latmin, |
int | latmax, | ||
int | lonmin, | ||
int | lonmax | ||
) | const [virtual] |
Match coordinates, with bounds in 1/100000 of degree.
Any value can be set to MISSING_INT if not applicable or to represent an open bound
Reimplemented from dballe::Matched.
virtual matcher::Result dballe::MatchedBulletin::match_date | ( | const int * | min, |
const int * | max | ||
) | const [virtual] |
Match date.
min and max are arrays of 6 ints (from year to second), and either of them can have -1 as the first element to indicate an open bound.
Reimplemented from dballe::Matched.
virtual matcher::Result dballe::MatchedBulletin::match_rep_memo | ( | const char * | memo | ) | const [virtual] |
Match rep_memo.
the memo value that is passed is always lowercase
Reimplemented from dballe::Matched.
virtual matcher::Result dballe::MatchedBulletin::match_station_id | ( | int | val | ) | const [virtual] |
virtual matcher::Result dballe::MatchedBulletin::match_station_wmo | ( | int | block, |
int | station = -1 |
||
) | const [virtual] |
virtual matcher::Result dballe::MatchedBulletin::match_var_id | ( | int | val | ) | const [virtual] |