casa
5.7.0-16
|
Small helper class to specify an 'interval' comparison. More...
#include <MSIter.h>
Public Member Functions | |
MSInterval (Double interval) | |
virtual | ~MSInterval () |
virtual int | comp (const void *obj1, const void *obj2) const |
Compare two objects, and return. More... | |
Double | getOffset () const |
virtual void | setOffset (Double offset) |
Double | getInterval () const |
void | setInterval (Double interval) |
Public Member Functions inherited from casacore::BaseCompare | |
virtual | ~BaseCompare () |
virtual DataType | dataType () const |
Get the data type of a straight-forward sort comparison in ObjCompare. More... | |
Private Attributes | |
Double | interval_p |
Double | offset_p |
Small helper class to specify an 'interval' comparison.
Small helper class to specify an 'interval' comparison for table iteration by time interval.
|
inlineexplicit |
|
virtual |
Compare two objects, and return.
Implements casacore::BaseCompare.
Reimplemented in casa::vi::MSSmartInterval.
|
inline |
Definition at line 66 of file MSIter.h.
References interval_p.
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in casa::vi::MSSmartInterval.
Definition at line 65 of file MSIter.h.
References interval_p.
|
private |
Definition at line 69 of file MSIter.h.
Referenced by getInterval(), and setOffset().
|
mutableprivate |
Definition at line 70 of file MSIter.h.
Referenced by getOffset().