libdballe  9.11
Public Member Functions | Public Attributes | Protected Attributes | List of all members
dballe::MatchedBulletin Struct Reference

Match all subsets in turn, returning true if at least one subset matches. More...

#include <match-wreport.h>

Inheritance diagram for dballe::MatchedBulletin:
dballe::Matched

Public Member Functions

 MatchedBulletin (const wreport::Bulletin &r)
 
matcher::Result match_var_id (int val) const override
 Match variable ID. More...
 
matcher::Result match_station_id (int val) const override
 Match station ID. More...
 
matcher::Result match_station_wmo (int block, int station=-1) const override
 Match station WMO code. More...
 
matcher::Result match_datetime (const DatetimeRange &range) const override
 Match datetime.
 
matcher::Result match_coords (const LatRange &latrange, const LonRange &lonrange) const override
 Match coordinates, with bounds in 1/100000 of degree. More...
 
matcher::Result match_rep_memo (const char *memo) const override
 Match rep_memo. More...
 

Public Attributes

const wreport::Bulletinr
 

Protected Attributes

const MatchedSubset ** subsets
 

Additional Inherited Members

- Static Public Member Functions inherited from dballe::Matched
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.
 

Detailed Description

Match all subsets in turn, returning true if at least one subset matches.

Member Function Documentation

◆ match_coords()

matcher::Result dballe::MatchedBulletin::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::MatchedBulletin::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::MatchedBulletin::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::MatchedBulletin::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::MatchedBulletin::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: