|
libdballe
7.7
|
Vertical level or layer. More...
#include <types.h>
Public Member Functions | |
| Level (int ltype1=MISSING_INT, int l1=MISSING_INT, int ltype2=MISSING_INT, int l2=MISSING_INT) | |
| bool | is_missing () const |
| Check if this level is fully set to the missing value. | |
| bool | operator== (const Level &l) const |
| bool | operator!= (const Level &l) const |
| bool | operator< (const Level &l) const |
| bool | operator> (const Level &l) const |
| int | compare (const Level &l) const |
| Generic comparison. More... | |
| std::string | describe () const |
| Return a string description of this level. | |
| void | to_stream (std::ostream &out, const char *undef="-") const |
| Format to an output stream. | |
| void | print (FILE *out, const char *undef="-", const char *end="\n") const |
| Print to an output stream. | |
Static Public Member Functions | |
| static Level | cloud (int ltype2=MISSING_INT, int l2=MISSING_INT) |
| Create a cloud special level. See Level type values. | |
Data Fields | |
| int | ltype1 |
| Type of the level or the first layer. See Level type values. | |
| int | l1 |
| L1 value of the level or the first layer. See Level type values. | |
| int | ltype2 |
| Type of the the second layer. See Level type values. | |
| int | l2 |
| L2 value of the second layer. See Level type values. | |
Vertical level or layer.
| int dballe::Level::compare | ( | const Level & | l | ) | const |
Generic comparison.
Returns a negative number if *this < other Returns zero if *this == other Returns a positive number if *this > other
Referenced by dballe::memdb::LevTr::compare().
1.8.9.1