libdballe  7.6
Public Member Functions
dballe::Message Struct Referenceabstract

A bulletin that has been decoded and physically interpreted. More...

#include <message.h>

Inheritance diagram for dballe::Message:
dballe::Msg

Public Member Functions

virtual Datetime get_datetime () const =0
 Get the reference Datetime for this message.
 
virtual std::unique_ptr< Messageclone () const =0
 Return a copy of this message.
 
virtual const wreport::Var * get (wreport::Varcode code, const Level &lev, const Trange &tr) const =0
 Get a variable given its code, level and time range information. More...
 
virtual void print (FILE *out) const =0
 Print all the contents of this message to an output stream.
 
virtual unsigned diff (const Message &msg) const =0
 Compute the differences between two Messages. More...
 

Detailed Description

A bulletin that has been decoded and physically interpreted.

Message collects zero or more variables that have been forecast or measured by the same station in the same instant.

Each variable is annotated with its vertical level/layer information, and its time range / statistical information.

Member Function Documentation

virtual unsigned dballe::Message::diff ( const Message msg) const
pure virtual

Compute the differences between two Messages.

Details of the differences found will be formatted using the wreport notes system (

See also
wreport/notes.h).
Returns
The number of differences found

Implemented in dballe::Msg.

virtual const wreport::Var* dballe::Message::get ( wreport::Varcode  code,
const Level lev,
const Trange tr 
) const
pure virtual

Get a variable given its code, level and time range information.

Returns
A pointer to the variable, or nullptr if it was not found.

Implemented in dballe::Msg.


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