casa
$Rev:20696$
|
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. | |
Double | getOffset () |
void | setOffset (Double offset) |
Double | getInterval () |
void | setInterval (Double interval) |
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.
casa::MSInterval::MSInterval | ( | Double | interval | ) | [inline, explicit] |
virtual casa::MSInterval::~MSInterval | ( | ) | [inline, virtual] |
virtual int casa::MSInterval::comp | ( | const void * | obj1, |
const void * | obj2 | ||
) | const [virtual] |
Compare two objects, and return.
Implements casa::BaseCompare.
Double casa::MSInterval::getInterval | ( | ) | [inline] |
Definition at line 65 of file MSIter.h.
References interval_p.
Double casa::MSInterval::getOffset | ( | ) | [inline] |
void casa::MSInterval::setInterval | ( | Double | interval | ) | [inline] |
Definition at line 66 of file MSIter.h.
References interval_p.
void casa::MSInterval::setOffset | ( | Double | offset | ) | [inline] |
Double casa::MSInterval::interval_p [private] |
Definition at line 68 of file MSIter.h.
Referenced by getInterval(), and setInterval().
Double casa::MSInterval::offset_p [mutable, private] |
Definition at line 69 of file MSIter.h.
Referenced by getOffset(), and setOffset().