|
|
| Message (const Message &)=default |
| |
|
| Message (Message &&)=default |
| |
|
Message & | operator= (const Message &m)=default |
| |
|
Message & | operator= (Message &&m)=default |
| |
|
std::unique_ptr< dballe::Message > | clone () const override |
| | Return a copy of this message.
|
| |
|
Datetime | get_datetime () const override |
| | Get the reference Datetime for this message.
|
| |
|
Coords | get_coords () const override |
| | Get the reference coordinates for this message.
|
| |
|
Ident | get_ident () const override |
| | Get the station identifier for this message.
|
| |
|
std::string | get_report () const override |
| | Get the report for this message.
|
| |
|
MessageType | get_type () const override |
| | Return the type of the data in the message.
|
| |
|
bool | foreach_var (std::function< bool(const Level &, const Trange &, const wreport::Var &)>) const override |
| | Iterate the contents of the message.
|
| |
|
void | print (FILE *out) const override |
| | Print all the contents of this message to an output stream.
|
| |
| unsigned | diff (const dballe::Message &msg) const override |
| | Compute the differences between two Messages. More...
|
| |
|
void | clear () |
| | Reset the messages as if it was just created.
|
| |
| const wreport::Var * | get (const Shortcut &shortcut) const |
| | Find a datum given its shortcut. More...
|
| |
| void | set (const Shortcut &shortcut, const wreport::Var &var) |
| | Add or replace a value. More...
|
| |
|
void | set_datetime (const Datetime &dt) |
| | Shortcut to set year...second variables in a single call.
|
| |
| bool | remove_context (const Level &lev, const Trange &tr) |
| | Remove a context from the message. More...
|
| |
| const msg::Context * | find_context (const Level &lev, const Trange &tr) const |
| | Find a msg::Context given its description. More...
|
| |
| const Values & | find_station_context () const |
| | Find the station info context. More...
|
| |
| msg::Context * | edit_context (const Level &lev, const Trange &tr) |
| | Find a msg::Context given its description. More...
|
| |
| msg::Context & | obtain_context (const Level &lev, const Trange &tr) |
| | Find a msg::Context given its description, creating it if it does not exist. More...
|
| |
| wreport::Var * | edit (wreport::Varcode code, const Level &lev, const Trange &tr) |
| | Find a variable given its description. More...
|
| |
| void | sounding_pack_levels () |
| | Remove the sounding significance from the level descriptions and pack together the data at the same pressure level. More...
|
| |
| bool | from_csv (CSVReader &in) |
| | Read data from a CSV input. More...
|
| |
|
void | to_csv (CSVWriter &out) const |
| | Output in CSV format.
|
| |
| std::unique_ptr< dballe::CursorStation > | query_stations (const Query &query) const override |
| | Return a Cursor to access the station information in the message. More...
|
| |
| std::unique_ptr< dballe::CursorStationData > | query_station_data (const Query &query) const override |
| | Query the station variables in the message. More...
|
| |
| std::unique_ptr< dballe::CursorData > | query_data (const Query &query) const override |
| | Query the variables in the message. More...
|
| |
|
std::unique_ptr< dballe::CursorData > | query_station_and_data (const Query &query) const |
| |
| const wreport::Var * | get (const Level &lev, const Trange &tr, wreport::Varcode code) const |
| | Get a variable given its code, level and time range information. More...
|
| |
| const wreport::Var * | get (const char *shortcut) const |
| | Get a variable given its shortcut name. More...
|
| |
| const wreport::Var * | get (const std::string &shortcut) const |
| | Get a variable given its shortcut name. More...
|
| |
| void | set (const Level &lev, const Trange &tr, wreport::Varcode code, const wreport::Var &var) |
| | Add or replace a value. More...
|
| |
| void | set (const Level &lev, const Trange &tr, const wreport::Var &var) |
| | Add or replace a value. More...
|
| |
| void | set (const Level &lev, const Trange &tr, std::unique_ptr< wreport::Var > var) |
| | Add or replace a value, taking ownership of the source variable without copying it. More...
|
| |
| void | set (const char *shortcut, std::unique_ptr< wreport::Var > var) |
| | Add or replace a value, taking ownership of the source variable without copying it. More...
|
| |
| void | set (const char *shortcut, const wreport::Var &var) |
| | Add or replace a value. More...
|
| |
|
|
int | find_index (const Level &lev, const Trange &tr) const |
| | Return the index of the given context, or -1 if it was not found.
|
| |
|
const wreport::Var * | get_impl (const Level &lev, const Trange &tr, wreport::Varcode code) const override |
| | Implementation of get(const Level&, const Trange&, wreport::Varcode)
|
| |
|
void | set_impl (const Level &lev, const Trange &tr, std::unique_ptr< wreport::Var > var) override |
| | Implementation of set(const Level& const Trange&, std::unique_ptr<wreport::Var>)
|
| |
|
void | seti (const Level &lev, const Trange &tr, wreport::Varcode code, int val, int conf) |
| |
|
void | setd (const Level &lev, const Trange &tr, wreport::Varcode code, double val, int conf) |
| |
|
void | setc (const Level &lev, const Trange &tr, wreport::Varcode code, const char *val, int conf) |
| |
Storage for related physical data.