|
casacore
|
#include <SDObservationHandler.h>
Public Member Functions | |
| SDObservationHandler () | |
| default ctor is not attached to a MS and hence is useless until attached More... | |
| SDObservationHandler (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) | |
| attach this to a MS, mark the appropriate columns as handled given the indicated row More... | |
| SDObservationHandler (const SDObservationHandler &other) | |
| copy ctor More... | |
| ~SDObservationHandler () | |
| SDObservationHandler & | operator= (const SDObservationHandler &other) |
| assignment operator, uses copy semantics More... | |
| void | attach (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) |
| attach to a MS, mark the appropriate columns as handled given the row More... | |
| void | resetRow (const Record &row) |
| reset internals given indicated row, use the same MS More... | |
| void | fill (const Record &row, const String &telescopeName, const Vector< Double > &timeRange) |
| fill - a new row is added only when necessary More... | |
| Int | observationId () |
| get the current observation ID More... | |
| void | updateTimeRange (const Vector< Double > &timeRange) |
| update the time range More... | |
Private Member Functions | |
| void | clearAll () |
| cleanup everything More... | |
| void | clearRow () |
| cleanup things which depend on the row description being fixed More... | |
| void | initAll (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) |
| initialize everything More... | |
| void | initRow (Vector< Bool > &handledCols, const Record &row) |
| initialize the things which depend on the row More... | |
| void | makeIndex () |
| initialize the index More... | |
Private Attributes | |
| ColumnsIndex * | index_p |
| RecordFieldPtr< String > | telescopeKey_p |
| RecordFieldPtr< String > | observerKey_p |
| RecordFieldPtr< String > | projectKey_p |
| RecordFieldPtr< String > | ns_obsidKey_p |
| RecordFieldPtr< Double > | releaseDateKey_p |
| RecordFieldPtr< Bool > | flagRowKey_p |
| MSObservation * | msObs_p |
| MSObservationColumns * | msObsCols_p |
| Int | rownr_p |
| ScalarColumn< String > | nsObsIdCol_p |
| RORecordFieldPtr< String > | observer_p |
| pointers to fields in record, only used if attached More... | |
| RORecordFieldPtr< String > | projid_p |
| RORecordFieldPtr< String > | obsid_p |
| RORecordFieldPtr< Double > | releaseDate_p |
| RORecordFieldPtr< Bool > | flagRow_p |
| RORecordFieldPtr< Array< Double > > | timeRange_p |
Internal or
Internal
Definition at line 89 of file SDObservationHandler.h.
| casacore::SDObservationHandler::SDObservationHandler | ( | ) |
default ctor is not attached to a MS and hence is useless until attached
| casacore::SDObservationHandler::SDObservationHandler | ( | MeasurementSet & | ms, |
| Vector< Bool > & | handledCols, | ||
| const Record & | row | ||
| ) |
attach this to a MS, mark the appropriate columns as handled given the indicated row
| casacore::SDObservationHandler::SDObservationHandler | ( | const SDObservationHandler & | other | ) |
copy ctor
|
inline |
Definition at line 102 of file SDObservationHandler.h.
References clearAll().
| void casacore::SDObservationHandler::attach | ( | MeasurementSet & | ms, |
| Vector< Bool > & | handledCols, | ||
| const Record & | row | ||
| ) |
attach to a MS, mark the appropriate columns as handled given the row
|
private |
cleanup everything
Referenced by ~SDObservationHandler().
|
private |
cleanup things which depend on the row description being fixed
| void casacore::SDObservationHandler::fill | ( | const Record & | row, |
| const String & | telescopeName, | ||
| const Vector< Double > & | timeRange | ||
| ) |
fill - a new row is added only when necessary
|
private |
initialize everything
|
private |
initialize the things which depend on the row
|
private |
initialize the index
|
inline |
get the current observation ID
Definition at line 117 of file SDObservationHandler.h.
References rownr_p.
| SDObservationHandler& casacore::SDObservationHandler::operator= | ( | const SDObservationHandler & | other | ) |
assignment operator, uses copy semantics
| void casacore::SDObservationHandler::resetRow | ( | const Record & | row | ) |
reset internals given indicated row, use the same MS
update the time range
|
private |
Definition at line 137 of file SDObservationHandler.h.
|
private |
Definition at line 125 of file SDObservationHandler.h.
|
private |
Definition at line 122 of file SDObservationHandler.h.
|
private |
Definition at line 127 of file SDObservationHandler.h.
|
private |
Definition at line 128 of file SDObservationHandler.h.
|
private |
Definition at line 123 of file SDObservationHandler.h.
|
private |
Definition at line 132 of file SDObservationHandler.h.
|
private |
pointers to fields in record, only used if attached
Definition at line 135 of file SDObservationHandler.h.
|
private |
Definition at line 123 of file SDObservationHandler.h.
|
private |
Definition at line 135 of file SDObservationHandler.h.
|
private |
Definition at line 123 of file SDObservationHandler.h.
|
private |
Definition at line 135 of file SDObservationHandler.h.
|
private |
Definition at line 136 of file SDObservationHandler.h.
|
private |
Definition at line 124 of file SDObservationHandler.h.
|
private |
Definition at line 130 of file SDObservationHandler.h.
Referenced by observationId().
|
private |
Definition at line 123 of file SDObservationHandler.h.
|
private |
Definition at line 138 of file SDObservationHandler.h.
1.8.5