casa
$Rev:20696$
|
#include <SDAntennaHandler.h>
Public Member Functions | |
SDAntennaHandler () | |
default ctor is not attached to a MS and hence is useless until attached | |
SDAntennaHandler (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) | |
attach this to a MS, mark the appropriate columns as handled given the indicated row | |
SDAntennaHandler (const SDAntennaHandler &other) | |
copy ctor | |
~SDAntennaHandler () | |
SDAntennaHandler & | operator= (const SDAntennaHandler &other) |
assignment operator, uses copy semantics | |
void | attach (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) |
attach to a MS, mark the appropriate columns as handled given the | |
void | resetRow (const Record &row) |
reset internals given indicated row, use the same MS | |
void | fill (const Record &row) |
fill - a new row is added only when necessary | |
Int | antennaId () |
get the current antenna ID | |
String | telescopeName () |
get the telescope name | |
const MPosition & | telescopePosition () |
get the telescope position | |
Private Member Functions | |
void | addPhasedArrayIdColumn () |
I expect these will never be used, nevertheless, put them here just in case I'm wrong. | |
void | addOrbitIdColumn () |
void | clearAll () |
cleanup everything | |
void | clearRow () |
cleanup things which depend on the row description being fixed | |
void | initAll (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) |
initialize everything | |
void | initRow (Vector< Bool > &handledCols, const Record &row) |
initialize the things which depend on the row | |
Private Attributes | |
ColumnsIndex * | index_p |
RecordFieldPtr< String > | nameKey_p |
RecordFieldPtr< String > | stationKey_p |
RecordFieldPtr< String > | mountKey_p |
RecordFieldPtr< Double > | dishDiameterKey_p |
RecordFieldPtr< Int > | orbitIdKey_p |
RecordFieldPtr< Int > | phasedIdKey_p |
RecordFieldPtr< Bool > | flagRowKey_p |
MSAntenna * | msAnt_p |
MSAntennaColumns * | msAntCols_p |
Int | rownr_p |
RORecordFieldPtr< String > | telescopField_p |
pointers to fields in record, only used if attached | |
Int | siteLongFldNum_p |
telescope position might be a double or float, just remember its location | |
Int | siteLatFldNum_p |
Int | siteElevFldNum_p |
String | name_p |
MPosition | position_p |
RORecordFieldPtr< String > | mountField_p |
fields which might exist if this SDFITS was converted from an MS using ms2sdfits | |
RORecordFieldPtr< String > | msNameField_p |
RORecordFieldPtr< String > | stationField_p |
RORecordFieldPtr< Int > | orbitIdField_p |
RORecordFieldPtr< Int > | phasedArrayIdField_p |
RORecordFieldPtr< Double > | dishDiameterField_p |
RORecordFieldPtr< Array< Double > > | offsetField_p |
RORecordFieldPtr< Array< Double > > | positionField_p |
RORecordFieldPtr< Bool > | flagRowField_p |
Internal or
Internal
<h3>Review Status</h3><dl><dt>Date Reviewed:<dd>yyyy/mm/dd</dl>
Definition at line 90 of file SDAntennaHandler.h.
default ctor is not attached to a MS and hence is useless until attached
casa::SDAntennaHandler::SDAntennaHandler | ( | MeasurementSet & | ms, |
Vector< Bool > & | handledCols, | ||
const Record & | row | ||
) |
attach this to a MS, mark the appropriate columns as handled given the indicated row
casa::SDAntennaHandler::SDAntennaHandler | ( | const SDAntennaHandler & | other | ) |
copy ctor
casa::SDAntennaHandler::~SDAntennaHandler | ( | ) | [inline] |
Definition at line 103 of file SDAntennaHandler.h.
References clearAll().
void casa::SDAntennaHandler::addOrbitIdColumn | ( | ) | [private] |
void casa::SDAntennaHandler::addPhasedArrayIdColumn | ( | ) | [private] |
I expect these will never be used, nevertheless, put them here just in case I'm wrong.
Int casa::SDAntennaHandler::antennaId | ( | ) | [inline] |
void casa::SDAntennaHandler::attach | ( | MeasurementSet & | ms, |
Vector< Bool > & | handledCols, | ||
const Record & | row | ||
) |
attach to a MS, mark the appropriate columns as handled given the
void casa::SDAntennaHandler::clearAll | ( | ) | [private] |
cleanup everything
Referenced by ~SDAntennaHandler().
void casa::SDAntennaHandler::clearRow | ( | ) | [private] |
cleanup things which depend on the row description being fixed
void casa::SDAntennaHandler::fill | ( | const Record & | row | ) |
fill - a new row is added only when necessary
void casa::SDAntennaHandler::initAll | ( | MeasurementSet & | ms, |
Vector< Bool > & | handledCols, | ||
const Record & | row | ||
) | [private] |
initialize everything
void casa::SDAntennaHandler::initRow | ( | Vector< Bool > & | handledCols, |
const Record & | row | ||
) | [private] |
initialize the things which depend on the row
SDAntennaHandler& casa::SDAntennaHandler::operator= | ( | const SDAntennaHandler & | other | ) |
assignment operator, uses copy semantics
void casa::SDAntennaHandler::resetRow | ( | const Record & | row | ) |
reset internals given indicated row, use the same MS
String casa::SDAntennaHandler::telescopeName | ( | ) | [inline] |
const MPosition& casa::SDAntennaHandler::telescopePosition | ( | ) | [inline] |
get the telescope position
Definition at line 124 of file SDAntennaHandler.h.
References position_p.
Definition at line 149 of file SDAntennaHandler.h.
Definition at line 128 of file SDAntennaHandler.h.
Definition at line 151 of file SDAntennaHandler.h.
Definition at line 130 of file SDAntennaHandler.h.
ColumnsIndex* casa::SDAntennaHandler::index_p [private] |
Definition at line 126 of file SDAntennaHandler.h.
fields which might exist if this SDFITS was converted from an MS using ms2sdfits
Definition at line 147 of file SDAntennaHandler.h.
Definition at line 127 of file SDAntennaHandler.h.
MSAntenna* casa::SDAntennaHandler::msAnt_p [private] |
Definition at line 131 of file SDAntennaHandler.h.
Definition at line 132 of file SDAntennaHandler.h.
Definition at line 147 of file SDAntennaHandler.h.
String casa::SDAntennaHandler::name_p [private] |
Definition at line 143 of file SDAntennaHandler.h.
Referenced by telescopeName().
Definition at line 127 of file SDAntennaHandler.h.
RORecordFieldPtr<Array<Double> > casa::SDAntennaHandler::offsetField_p [private] |
Definition at line 150 of file SDAntennaHandler.h.
Definition at line 148 of file SDAntennaHandler.h.
Definition at line 129 of file SDAntennaHandler.h.
Definition at line 148 of file SDAntennaHandler.h.
Definition at line 129 of file SDAntennaHandler.h.
MPosition casa::SDAntennaHandler::position_p [private] |
Definition at line 144 of file SDAntennaHandler.h.
Referenced by telescopePosition().
Definition at line 150 of file SDAntennaHandler.h.
Int casa::SDAntennaHandler::rownr_p [private] |
Definition at line 134 of file SDAntennaHandler.h.
Referenced by antennaId().
Int casa::SDAntennaHandler::siteElevFldNum_p [private] |
Definition at line 141 of file SDAntennaHandler.h.
Int casa::SDAntennaHandler::siteLatFldNum_p [private] |
Definition at line 141 of file SDAntennaHandler.h.
Int casa::SDAntennaHandler::siteLongFldNum_p [private] |
telescope position might be a double or float, just remember its location
Definition at line 141 of file SDAntennaHandler.h.
Definition at line 147 of file SDAntennaHandler.h.
Definition at line 127 of file SDAntennaHandler.h.
pointers to fields in record, only used if attached
Definition at line 137 of file SDAntennaHandler.h.