Implements method to determine the object ID. More...
#include <ObjectID.hxx>
Public Member Functions | |
ObjectID () | |
Constructor just sets the method name. | |
virtual | ~ObjectID () |
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 object ID. | |
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 | objIdColno |
std::string | newobjidstr |
std::string | nextobjidstr |
int64 | newobjid |
int64 | objid |
Options | options |
OptionsFiller | optionsInitialiser |
Implements method to determine the object ID.
Constructor just sets the method name.
References Options::getNewObjId(), ObjectID< DataType >::newobjid, ObjectID< DataType >::newobjidstr, and ObjectID< DataType >::options.
void ObjectID< 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(), OptionNames::newobjid, ObjectID< DataType >::newobjid, ObjectID< DataType >::nextobjidstr, StringOps::NumToString(), ObjectID< DataType >::objid, ObjectID< DataType >::objIdColno, ObjectID< DataType >::optionsInitialiser, and OptionsFiller::setOption().
void ObjectID< DataType >::doit2 | ( | TableData< DataType > & | rawData, | |
TableData< DataType > & | data, | |||
int | row1, | |||
int | row2 | |||
) | [inline, virtual] |
Implements DataMethod< DataType >.
void ObjectID< DataType >::setSource | ( | IntMap & | tbls, | |
IntMap & | cols, | |||
StringMap | units | |||
) | [inline, virtual] |
Source is the data column with the UT date.
Implements DataMethod< DataType >.
void ObjectID< DataType >::setTarget | ( | IntMap & | cols, | |
StringMap | units | |||
) | [inline, virtual] |
Target is the data column with the object ID.
Implements DataMethod< DataType >.
References ObjectID< DataType >::objIdColno.
Referenced by ObjectID< DataType >::doit(), and ObjectID< DataType >::ObjectID().
std::string ObjectID< DataType >::newobjidstr [private] |
Referenced by ObjectID< DataType >::ObjectID().
std::string ObjectID< DataType >::nextobjidstr [private] |
Referenced by ObjectID< DataType >::doit().
Referenced by ObjectID< DataType >::doit().
int ObjectID< DataType >::objIdColno [private] |
Referenced by ObjectID< DataType >::doit(), and ObjectID< DataType >::setTarget().
Referenced by ObjectID< DataType >::ObjectID().
OptionsFiller ObjectID< DataType >::optionsInitialiser [private] |
Referenced by ObjectID< DataType >::doit().