Implements method to determine the Julian Day number. More...
#include <JulianDayNum.hxx>
Public Member Functions | |
JulianDayNum () | |
Constructor just sets the method name. | |
virtual | ~JulianDayNum () |
Destructor. | |
void | setSource (IntMap &tbls, IntMap &cols, StringMap units) |
Source is the data column with the UT date. | |
void | setTarget (IntMap &cols, StringMap units) |
Target is the data column with the Julian Day number. | |
void | doit (TableData< DataType > &data, int row1, int row2) |
Fill up data column for the Julian Day number. | |
void | doit2 (TableData< DataType > &rawData, TableData< DataType > &data, int row1, int row2) |
Private Attributes | |
int | utColno |
int | jdColno |
Implements method to determine the Julian Day number.
JulianDayNum< DataType >::JulianDayNum | ( | ) | [inline] |
Constructor just sets the method name.
virtual JulianDayNum< DataType >::~JulianDayNum | ( | ) | [inline, virtual] |
Destructor.
void JulianDayNum< DataType >::doit | ( | TableData< DataType > & | data, | |
int | row1, | |||
int | row2 | |||
) | [inline, virtual] |
Fill up data column for the Julian Day number.
Implements DataMethod< DataType >.
References TableData< DataType >::assign(), DataOps::calcJulianDay(), JulianDayNum< DataType >::jdColno, JulianDayNum< DataType >::utColno, ExpectNames::utDate, and TableData< DataType >::value().
void JulianDayNum< DataType >::doit2 | ( | TableData< DataType > & | rawData, | |
TableData< DataType > & | data, | |||
int | row1, | |||
int | row2 | |||
) | [inline, virtual] |
Implements DataMethod< DataType >.
void JulianDayNum< DataType >::setSource | ( | IntMap & | tbls, | |
IntMap & | cols, | |||
StringMap | units | |||
) | [inline, virtual] |
Source is the data column with the UT date.
Implements DataMethod< DataType >.
References JulianDayNum< DataType >::utColno.
void JulianDayNum< DataType >::setTarget | ( | IntMap & | cols, | |
StringMap | units | |||
) | [inline, virtual] |
Target is the data column with the Julian Day number.
Implements DataMethod< DataType >.
References JulianDayNum< DataType >::jdColno.
int JulianDayNum< DataType >::jdColno [private] |
Referenced by JulianDayNum< DataType >::doit(), and JulianDayNum< DataType >::setTarget().
int JulianDayNum< DataType >::utColno [private] |
Referenced by JulianDayNum< DataType >::doit(), and JulianDayNum< DataType >::setSource().