Match adapter for impl::Message.
More...
#include <msg.h>
|
static matcher::Result | int_in_range (int val, int min, int max) |
| Match if min <= val <= max. More...
|
|
static matcher::Result | lon_in_range (int val, int min, int max) |
| Match if val is contained inside the given longitude range.
|
|
Match adapter for impl::Message.
◆ match_coords()
matcher::Result dballe::impl::MatchedMsg::match_coords |
( |
const LatRange & |
latrange, |
|
|
const LonRange & |
lonrange |
|
) |
| const |
|
overridevirtual |
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.
◆ match_rep_memo()
matcher::Result dballe::impl::MatchedMsg::match_rep_memo |
( |
const char * |
memo | ) |
const |
|
overridevirtual |
Match rep_memo.
the memo value that is passed is always lowercase
Reimplemented from dballe::Matched.
◆ match_station_id()
matcher::Result dballe::impl::MatchedMsg::match_station_id |
( |
int |
val | ) |
const |
|
overridevirtual |
Match station ID.
This corresponds to DBA_KEY_ANA_ID
Reimplemented from dballe::Matched.
◆ match_station_wmo()
matcher::Result dballe::impl::MatchedMsg::match_station_wmo |
( |
int |
block, |
|
|
int |
station = -1 |
|
) |
| const |
|
overridevirtual |
Match station WMO code.
If station is -1, only match the block.
Reimplemented from dballe::Matched.
◆ match_var_id()
matcher::Result dballe::impl::MatchedMsg::match_var_id |
( |
int |
val | ) |
const |
|
overridevirtual |
Match variable ID.
This corresponds to B33195
Reimplemented from dballe::Matched.
The documentation for this struct was generated from the following file: