version  0.0.1
Defines the C++ API for MsPASS
Loading...
Searching...
No Matches
Public Member Functions | List of all members
mspass::seismic::TimeWindowCmp Class Reference

Function object used for weak comparison to order TimeWindow objects. More...

#include <DataGap.h>

Public Member Functions

bool operator() (const mspass::algorithms::TimeWindow ti1, const mspass::algorithms::TimeWindow ti2) const
 

Detailed Description

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.

Author
Gary L. Pavlis

Member Function Documentation

◆ operator()()

bool mspass::seismic::TimeWindowCmp::operator() ( const mspass::algorithms::TimeWindow  ti1,
const mspass::algorithms::TimeWindow  ti2 
) const
inline
19 {
20 return (ti1.end < ti2.start);
21 };
double start
Definition TimeWindow.h:17
double end
Definition TimeWindow.h:21

The documentation for this class was generated from the following file: