#include <SDSourceHandler.h>
Public Member Functions | |
SDSourceHandler () | |
default ctor is not attached to a MS and hence is useless until attached | |
SDSourceHandler (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) | |
attach this to a MS, marking fields in row which are explicitly handled here | |
SDSourceHandler (const SDSourceHandler &other) | |
copy ctor | |
~SDSourceHandler () | |
SDSourceHandler & | operator= (const SDSourceHandler &other) |
assignment operator, uses copy semantics | |
void | attach (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) |
attach to a MS, the handledCols and row arguments are ignored here | |
void | resetRow (const Record &) |
reset internals given indicated row, use the same MS; just resets the id pointer | |
void | fill (const Record &row, Int spectralWindowId) |
fill - a source is unique in source name and code | |
Int | sourceId () |
get the current source ID | |
Private Member Functions | |
void | clearAll () |
cleanup everything | |
void | clearRow () |
clean up items related to the row | |
void | initAll (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) |
initialize everything | |
void | initRow (Vector< Bool > &handledCols, const Record &row) |
initialize the stuff dependent on the row | |
Private Attributes | |
RecordFieldPtr< String > | nameKey_p |
RecordFieldPtr< String > | codeKey_p |
ColumnsIndex * | index_p |
MSSource * | msSource_p |
MSSourceColumns * | msSourceCols_p |
Int | sourceId_p |
the current source ID | |
Int | nextSourceId_p |
the next source ID to use | |
Int | restfreq_p |
fields possibly mined from the SDFITS row floating point fields that we can't be certain of their type | |
Int | vframe_p |
RORecordFieldPtr< String > | transiti_p |
String fields. | |
RORecordFieldPtr< String > | molecule_p |
RORecordFieldPtr< String > | object_p |
RORecordFieldPtr< String > | obsmode_p |
Bool | hasTransition_p |
which optional colums exist | |
Bool | hasRestFreq_p |
Bool | hasSysVel_p |
Bool | hasPosition_p |
RORecordFieldPtr< Int > | calibrationGroupField_p |
fields which might come from a pre-existin MS | |
RORecordFieldPtr< Int > | pulsarIdField_p |
RORecordFieldPtr< Double > | timeField_p |
RORecordFieldPtr< Double > | intervalField_p |
RORecordFieldPtr< Array< Double > > | directionField_p |
RORecordFieldPtr< Array< Double > > | positionField_p |
RORecordFieldPtr< Array< Double > > | properMotionField_p |
Internal or
Internal
Definition at line 88 of file SDSourceHandler.h.
casacore::SDSourceHandler::SDSourceHandler | ( | ) |
default ctor is not attached to a MS and hence is useless until attached
casacore::SDSourceHandler::SDSourceHandler | ( | MeasurementSet & | ms, | |
Vector< Bool > & | handledCols, | |||
const Record & | row | |||
) |
attach this to a MS, marking fields in row which are explicitly handled here
casacore::SDSourceHandler::SDSourceHandler | ( | const SDSourceHandler & | other | ) |
copy ctor
casacore::SDSourceHandler::~SDSourceHandler | ( | ) | [inline] |
Definition at line 100 of file SDSourceHandler.h.
References clearAll().
void casacore::SDSourceHandler::attach | ( | MeasurementSet & | ms, | |
Vector< Bool > & | handledCols, | |||
const Record & | row | |||
) |
attach to a MS, the handledCols and row arguments are ignored here
void casacore::SDSourceHandler::clearAll | ( | ) | [private] |
cleanup everything
Referenced by ~SDSourceHandler().
void casacore::SDSourceHandler::clearRow | ( | ) | [private] |
clean up items related to the row
fill - a source is unique in source name and code
void casacore::SDSourceHandler::initAll | ( | MeasurementSet & | ms, | |
Vector< Bool > & | handledCols, | |||
const Record & | row | |||
) | [private] |
initialize everything
void casacore::SDSourceHandler::initRow | ( | Vector< Bool > & | handledCols, | |
const Record & | row | |||
) | [private] |
initialize the stuff dependent on the row
SDSourceHandler& casacore::SDSourceHandler::operator= | ( | const SDSourceHandler & | other | ) |
assignment operator, uses copy semantics
void casacore::SDSourceHandler::resetRow | ( | const Record & | ) |
reset internals given indicated row, use the same MS; just resets the id pointer
Int casacore::SDSourceHandler::sourceId | ( | ) | [inline] |
fields which might come from a pre-existin MS
Definition at line 138 of file SDSourceHandler.h.
Definition at line 117 of file SDSourceHandler.h.
Definition at line 140 of file SDSourceHandler.h.
Bool casacore::SDSourceHandler::hasPosition_p [private] |
Definition at line 135 of file SDSourceHandler.h.
Bool casacore::SDSourceHandler::hasRestFreq_p [private] |
Definition at line 135 of file SDSourceHandler.h.
Bool casacore::SDSourceHandler::hasSysVel_p [private] |
Definition at line 135 of file SDSourceHandler.h.
which optional colums exist
Definition at line 135 of file SDSourceHandler.h.
ColumnsIndex* casacore::SDSourceHandler::index_p [private] |
Definition at line 118 of file SDSourceHandler.h.
Definition at line 139 of file SDSourceHandler.h.
Definition at line 132 of file SDSourceHandler.h.
MSSource* casacore::SDSourceHandler::msSource_p [private] |
Definition at line 119 of file SDSourceHandler.h.
Definition at line 120 of file SDSourceHandler.h.
Definition at line 117 of file SDSourceHandler.h.
Int casacore::SDSourceHandler::nextSourceId_p [private] |
the next source ID to use
Definition at line 126 of file SDSourceHandler.h.
Definition at line 132 of file SDSourceHandler.h.
Definition at line 132 of file SDSourceHandler.h.
Definition at line 140 of file SDSourceHandler.h.
Definition at line 140 of file SDSourceHandler.h.
Definition at line 138 of file SDSourceHandler.h.
Int casacore::SDSourceHandler::restfreq_p [private] |
fields possibly mined from the SDFITS row floating point fields that we can't be certain of their type
Definition at line 130 of file SDSourceHandler.h.
Int casacore::SDSourceHandler::sourceId_p [private] |
Definition at line 139 of file SDSourceHandler.h.
String fields.
Definition at line 132 of file SDSourceHandler.h.
Int casacore::SDSourceHandler::vframe_p [private] |
Definition at line 130 of file SDSourceHandler.h.