#include <SDSourceHandler.h>
Collaboration diagram for casa::SDSourceHandler:

Internal or<h3>Intended use: Internal
Definition at line 87 of file 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 | rvsys_p |
| 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 |
| casa::SDSourceHandler::SDSourceHandler | ( | ) |
default ctor is not attached to a MS and hence is useless until attached
| casa::SDSourceHandler::SDSourceHandler | ( | MeasurementSet & | ms, | |
| Vector< Bool > & | handledCols, | |||
| const Record & | row | |||
| ) |
attach this to a MS, marking fields in row which are explicitly handled here
| casa::SDSourceHandler::SDSourceHandler | ( | const SDSourceHandler & | other | ) |
copy ctor
| casa::SDSourceHandler::~SDSourceHandler | ( | ) | [inline] |
| SDSourceHandler& casa::SDSourceHandler::operator= | ( | const SDSourceHandler & | other | ) |
assignment operator, uses copy semantics
| void casa::SDSourceHandler::attach | ( | MeasurementSet & | ms, | |
| Vector< Bool > & | handledCols, | |||
| const Record & | row | |||
| ) |
attach to a MS, the handledCols and row arguments are ignored here
| void casa::SDSourceHandler::resetRow | ( | const Record & | ) |
reset internals given indicated row, use the same MS; just resets the id pointer
fill - a source is unique in source name and code
| Int casa::SDSourceHandler::sourceId | ( | ) | [inline] |
| void casa::SDSourceHandler::clearAll | ( | ) | [private] |
| void casa::SDSourceHandler::clearRow | ( | ) | [private] |
clean up items related to the row
| void casa::SDSourceHandler::initAll | ( | MeasurementSet & | ms, | |
| Vector< Bool > & | handledCols, | |||
| const Record & | row | |||
| ) | [private] |
initialize everything
initialize the stuff dependent on the row
RecordFieldPtr<String> casa::SDSourceHandler::nameKey_p [private] |
Definition at line 116 of file SDSourceHandler.h.
RecordFieldPtr<String> casa::SDSourceHandler::codeKey_p [private] |
Definition at line 116 of file SDSourceHandler.h.
ColumnsIndex* casa::SDSourceHandler::index_p [private] |
Definition at line 117 of file SDSourceHandler.h.
MSSource* casa::SDSourceHandler::msSource_p [private] |
Definition at line 118 of file SDSourceHandler.h.
Definition at line 119 of file SDSourceHandler.h.
Int casa::SDSourceHandler::sourceId_p [private] |
Int casa::SDSourceHandler::nextSourceId_p [private] |
Int casa::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 129 of file SDSourceHandler.h.
Int casa::SDSourceHandler::rvsys_p [private] |
Definition at line 129 of file SDSourceHandler.h.
Int casa::SDSourceHandler::vframe_p [private] |
Definition at line 129 of file SDSourceHandler.h.
Definition at line 131 of file SDSourceHandler.h.
Definition at line 131 of file SDSourceHandler.h.
Definition at line 131 of file SDSourceHandler.h.
Bool casa::SDSourceHandler::hasTransition_p [private] |
Bool casa::SDSourceHandler::hasRestFreq_p [private] |
Definition at line 134 of file SDSourceHandler.h.
Bool casa::SDSourceHandler::hasSysVel_p [private] |
Definition at line 134 of file SDSourceHandler.h.
Bool casa::SDSourceHandler::hasPosition_p [private] |
Definition at line 134 of file SDSourceHandler.h.
Definition at line 137 of file SDSourceHandler.h.
Definition at line 138 of file SDSourceHandler.h.
Definition at line 138 of file SDSourceHandler.h.
Definition at line 139 of file SDSourceHandler.h.
Definition at line 139 of file SDSourceHandler.h.
Definition at line 139 of file SDSourceHandler.h.
1.5.1