OpenWalnut  1.5.0dev
Public Member Functions | List of all members
WDataSetTimeSeries::TimeSliceCompare Class Reference

A compare functor for time slices. More...

Public Member Functions

bool operator() (TimeSlice const &t0, TimeSlice const &t1)
 Compares the time of two time slices. More...
 
bool operator() (float const &t0, TimeSlice const &t1)
 Compares the time of two time slices. More...
 
bool operator() (TimeSlice const &t0, float const &t1)
 Compares the time of two time slices. More...
 

Detailed Description

A compare functor for time slices.

Definition at line 215 of file WDataSetTimeSeries.h.

Member Function Documentation

◆ operator()() [1/3]

bool WDataSetTimeSeries::TimeSliceCompare::operator() ( float const &  t0,
TimeSlice const &  t1 
)

Compares the time of two time slices.

Parameters
t0The first time slice.
t1The other time slice.
Returns
true, iff the time of the first slice is smaller than that of the other one.

Definition at line 193 of file WDataSetTimeSeries.cpp.

◆ operator()() [2/3]

bool WDataSetTimeSeries::TimeSliceCompare::operator() ( TimeSlice const &  t0,
float const &  t1 
)

Compares the time of two time slices.

Parameters
t0The first time slice.
t1The other time slice.
Returns
true, iff the time of the first slice is smaller than that of the other one.

Definition at line 198 of file WDataSetTimeSeries.cpp.

◆ operator()() [3/3]

bool WDataSetTimeSeries::TimeSliceCompare::operator() ( TimeSlice const &  t0,
TimeSlice const &  t1 
)

Compares the time of two time slices.

Parameters
t0The first time slice.
t1The other time slice.
Returns
true, iff the time of the first slice is smaller than that of the other one.

Definition at line 188 of file WDataSetTimeSeries.cpp.


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