Public Member Functions |
| Trange (int pind=MISSING_INT, int p1=MISSING_INT, int p2=MISSING_INT) |
| Trange (const char *pind, const char *p1=NULL, const char *p2=NULL) |
bool | operator== (const Trange &tr) const |
bool | operator!= (const Trange &tr) const |
int | compare (const Trange &t) const |
| Compare two Trange strutures, for use in sorting.
|
std::string | describe () const |
| Return a string description of this time range.
|
void | format (std::ostream &out, const char *undef="-") const |
Static Public Member Functions |
static Trange | instant () |
static Trange | ana () |
Data Fields |
int | pind |
| Time range type indicator.
|
int | p1 |
| Time range P1 indicator.
|
int | p2 |
| Time range P2 indicator.
|
Member Function Documentation
int dballe::Trange::compare |
( |
const Trange & |
t | ) |
const |
|
inline |
Compare two Trange strutures, for use in sorting.
- Returns
- -1 if *this < t, 0 if *this == t, 1 if *this > t
References p1, p2, and pind.
Field Documentation
The documentation for this struct was generated from the following file: