|
libdballe
7.7
|
Information on how a value has been sampled or computed with regards to time. More...
#include <types.h>
Public Member Functions | |
| Trange (int pind=MISSING_INT, int p1=MISSING_INT, int p2=MISSING_INT) | |
| bool | is_missing () const |
| Check if this level is fully set to the missing value. | |
| int | compare (const Trange &t) const |
| Generic comparison. More... | |
| bool | operator== (const Trange &tr) const |
| bool | operator!= (const Trange &tr) const |
| bool | operator< (const Trange &t) const |
| bool | operator> (const Trange &t) const |
| std::string | describe () const |
| Return a string description of this time range. | |
| 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 Trange | instant () |
| Time range for instant values. | |
Data Fields | |
| int | pind |
| Time range type indicator. See Time range values. | |
| int | p1 |
| Time range P1 indicator. See Time range values. | |
| int | p2 |
| Time range P2 indicator. See Time range values. | |
Information on how a value has been sampled or computed with regards to time.
| int dballe::Trange::compare | ( | const Trange & | t | ) | 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