29 #ifndef MS_SDSOURCEHANDLER_H
30 #define MS_SDSOURCEHANDLER_H
41 class MSSourceColumns;
44 template <
class T>
class Vector;
Index to one or more columns in a table.
Int restfreq_p
fields possibly mined from the SDFITS row floating point fields that we can't be certain of their typ...
std::vector< double > Vector
RORecordFieldPtr< String > molecule_p
SDSourceHandler & operator=(const SDSourceHandler &other)
assignment operator, uses copy semantics
RecordFieldPtr< String > codeKey_p
Bool hasTransition_p
which optional colums exist
Int sourceId_p
the current source ID
SDSourceHandler()
default ctor is not attached to a MS and hence is useless until attached
RORecordFieldPtr< Array< Double > > directionField_p
void clearRow()
clean up items related to the row
void attach(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
attach to a MS, the handledCols and row arguments are ignored here
RORecordFieldPtr< String > transiti_p
String fields.
void initAll(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
initialize everything
RORecordFieldPtr< String > object_p
MSSourceColumns * msSourceCols_p
RORecordFieldPtr< Double > timeField_p
RORecordFieldPtr< Array< Double > > positionField_p
void clearAll()
cleanup everything
A class to provide easy read-write access to MSSource columns.
RORecordFieldPtr< Double > intervalField_p
A Table intended to hold a MeasurementSet SOURCE table.
Access to an individual field in a record.
RORecordFieldPtr< Int > calibrationGroupField_p
fields which might come from a pre-existin MS
RORecordFieldPtr< Array< Double > > properMotionField_p
Int sourceId()
get the current source ID
void fill(const Record &row, Int spectralWindowId)
fill - a source is unique in source name and code
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
RORecordFieldPtr< String > obsmode_p
RecordFieldPtr< String > nameKey_p
Int nextSourceId_p
the next source ID to use
A Table intended to hold astronomical data (a set of Measurements).
RORecordFieldPtr< Int > pulsarIdField_p
void resetRow(const Record &)
reset internals given indicated row, use the same MS; just resets the id pointer
void initRow(Vector< Bool > &handledCols, const Record &row)
initialize the stuff dependent on the row
Read-Only access to an individual field from a Record.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.