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