libdballe  9.11
Public Member Functions | Public Attributes | List of all members
dballe::impl::MatchedMsg Struct Reference

Match adapter for impl::Message. More...

#include <msg.h>

Inheritance diagram for dballe::impl::MatchedMsg:
dballe::Matched

Public Member Functions

 MatchedMsg (const impl::Message &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 impl::Messagem
 

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 adapter for impl::Message.

Member Function Documentation

◆ 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: