28 #ifndef MS_MSTIMEPARSE_H
29 #define MS_MSTIMEPARSE_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/ms/MSSel/MSParse.h>
34 #include <casacore/ms/MSSel/MSSelectableMainColumn.h>
35 #include <casacore/measures/Measures/MEpoch.h>
36 #include <casacore/ms/MSSel/MSTimeDefinitions.h>
37 #include <casacore/casa/Containers/Block.h>
38 #include <casacore/casa/Arrays/Matrix.h>
118 const MEpoch& upboundTime,
120 Float edgeWidth=-1.0);
MeasurementSet * ms()
Get ms object.
static void setDefaults(TimeFields &tf, Bool dataOrigin=True)
const TableExprNode * selectTime(const MEpoch &time, bool daytime=false)
~MSTimeParse() { if (node_p) delete node_p;node_p=0x0; if (otherTens_p) delete otherTens_p;otherTens_...
const TableExprNode * selectTimeGT(const MEpoch &lowboundTime, bool daytime=false)
static const MEpoch * yearTimeConvert(const TimeFields &tf)
Matrix< Double > selectedTimes()
static MSTimeParse * thisMSTParser
static void validate(const TimeFields &tf)
static TableExprNode columnAsTEN_p
static MSSelectableMainColumn * mainColumn_p
static Double toTAIInSec(const MEpoch &time)
const TableExprNode * selectTimeLT(const MEpoch &upboundTime, bool daytime=false)
static MeasurementSet * ms_p
static Bool defaultTimeComputed
static Matrix< Double > timeList
static TableExprNode * otherTens_p
private:
MSTimeParse(const MeasurementSet *ms, const TableExprNode &otherTens, const Bool honourRowFlags=True)
Associate the ms and the shorthand.
void accumulateTimeList(const Double t0, const Double t1, const Double dT=-1)
static const MEpoch * yearTimeConvert(Int year=-1, Int month=-1, Int day=-1, Int hour=-1, Int minute=-1, Int second=-1, Int millisec=-1)
MSTimeParse()
Default constructor.
static const TableExprNode * node()
Get table expression node object.
const TableExprNode * addCondition(TableExprNode &condition)
const TableExprNode * selectTimeRange(const MEpoch &lowboundTime, const MEpoch &upboundTime, bool daytime=false, Float edgeWidth=-1.0)
static TableExprNode * node_p
MSTimeParse(const MeasurementSet *ms, const TableExprNode &colAsTEN, MSSelectableMainColumn &msMainColInterface, const TableExprNode &otherTEN, const Bool honourRowFlags=True)
static void copyDefaults(TimeFields &target, TimeFields &source)
void resize(size_t nx, size_t ny, bool copyValues=false)
String: the storage and methods of handling collections of characters.
const Double minute
minute
const Double second
Time interval [T]:
this file contains all the compiler specific defines
TableExprNode time(const TableExprNode &node)
TableExprNode day(const TableExprNode &node)
TableExprNode month(const TableExprNode &node)
TableExprNode year(const TableExprNode &node)
bool Bool
Define the standard types used by Casacore.