|
MsPASS C++ API
2.4.1.dev4+g92330b7a
Defines the C++ API for MsPASS
|
Function object used for weak comparison to order TimeWindow objects. More...
#include <TimeWindow.h>
Public Member Functions | |
| bool | operator() (const TimeWindow ti1, const TimeWindow ti2) const |
Function object used for weak comparison to order TimeWindow objects.
TimeWindow objects are used, among other things, to define real or processed induced data gaps. The set container requires a weak ordering function like to correctly determine if a time is inside a particular time window.
|
inline |
Return true when ti1 ends before ti2 starts.
| ti1 | first window in the comparison. |
| ti2 | second window in the comparison. |
References mspass::algorithms::TimeWindow::end, and mspass::algorithms::TimeWindow::start.