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

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
 

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::algorithms::TimeWindowCmp::operator() ( const TimeWindow  ti1,
const TimeWindow  ti2 
) const
inline
83 {
84 return (ti1.end < ti2.start);
85 };

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