|
libdballe
8.6
|
Store an array of physical data all on the same level. More...
#include <context.h>
Public Member Functions | |
| Context (const Level &lev, const Trange &tr) | |
| Context (const Context &c)=default | |
| Context (Context &&c)=default | |
| Context & | operator= (const Context &src)=default |
| Context & | operator= (Context &&src)=default |
| int | compare (const Context &ctx) const |
| Compare two dba_msg_context strutures, for use in sorting. More... | |
| int | compare (const Level &lev, const Trange &tr) const |
| Compare a Context struture with level and time range information, for use in sorting. More... | |
| const wreport::Var * | find_vsig () const |
| If this context is the right context for a vertical sounding significance and contains a vertical sounding significance variable, return it. More... | |
| void | print (FILE *out) const |
| Dump all the contents of the context to the given stream. More... | |
| unsigned | diff (const Context &ctx) const |
| Compute the differences between two contexts. More... | |
Public Attributes | |
| Level | level |
| Trange | trange |
| Values | values |
Protected Member Functions | |
| int | find_index (wreport::Varcode code) const |
| Return the index of the var ‘code’ in l, or -1 if it was not found. | |
Store an array of physical data all on the same level.
| int dballe::impl::msg::Context::compare | ( | const Context & | ctx | ) | const |
Compare two dba_msg_context strutures, for use in sorting.
| ctx | First context to compare |
Compare a Context struture with level and time range information, for use in sorting.
| unsigned dballe::impl::msg::Context::diff | ( | const Context & | ctx | ) | const |
Compute the differences between two contexts.
Details of the differences found will be formatted using the notes system (
| ctx | Context to compare with this one |
| const wreport::Var* dballe::impl::msg::Context::find_vsig | ( | ) | const |
If this context is the right context for a vertical sounding significance and contains a vertical sounding significance variable, return it.
Else, return NULL.
| void dballe::impl::msg::Context::print | ( | FILE * | out | ) | const |
Dump all the contents of the context to the given stream.
| out | The stream to dump the contents of the level to. |
1.8.16