casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::SDWeatherHandler Class Reference

#include <SDWeatherHandler.h>

Public Member Functions

 SDWeatherHandler ()
 default ctor is not attached to a MS and hence is useless until attached More...
 
 SDWeatherHandler (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 attach this to a MS - mark fields in row as handled More...
 
 SDWeatherHandler (const SDWeatherHandler &other)
 copy ctor More...
 
 ~SDWeatherHandler ()
 
SDWeatherHandleroperator= (const SDWeatherHandler &other)
 assignment operator, uses copy semantics More...
 
void attach (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 attach to a MS, mark fields in row as handled More...
 
void resetRow (const Record &row)
 reset internals given indicated row, use the same MS More...
 
void fill (const Record &row, Int antennaId, Double time, Vector< Double > &timeRange)
 fill - a new row is added as necessary, there is no lookback to see if a row could be reused. More...
 

Private Member Functions

void clearAll ()
 cleanup everything More...
 
void clearRow ()
 cleanup row-related stuff More...
 
void initAll (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 initialize everything More...
 
void initRow (Vector< Bool > &handledCols, const Record &row)
 intialize the row related stuff More...
 

Private Attributes

MSWeathermsWeather_p
 
MSWeatherColumnsmsWeatherCols_p
 
Int rownr_p
 
Int humidityId_p
 
Int tambientId_p
 
Int pressureId_p
 
Int dewpointId_p
 
Int windspeeId_p
 
Int winddireId_p
 
RORecordFieldPtr< FloatH2OField_p
 additional fields from an SDFITS file that had a previous life as a MS More...
 
RORecordFieldPtr< FloationosElectronField_p
 
RORecordFieldPtr< FloatpressureField_p
 
RORecordFieldPtr< FloathumidityField_p
 
RORecordFieldPtr< FloattemperatureField_p
 
RORecordFieldPtr< FloatwindDirField_p
 
RORecordFieldPtr< FloatwindSpeedField_p
 
RORecordFieldPtr< DoubletimeField_p
 
RORecordFieldPtr< DoubleintervalField_p
 

Detailed Description

Intended use:

Internal or

Intended use:

Internal

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Definition at line 86 of file SDWeatherHandler.h.

Constructor & Destructor Documentation

casacore::SDWeatherHandler::SDWeatherHandler ( )

default ctor is not attached to a MS and hence is useless until attached

casacore::SDWeatherHandler::SDWeatherHandler ( MeasurementSet ms,
Vector< Bool > &  handledCols,
const Record row 
)

attach this to a MS - mark fields in row as handled

casacore::SDWeatherHandler::SDWeatherHandler ( const SDWeatherHandler other)

copy ctor

casacore::SDWeatherHandler::~SDWeatherHandler ( )
inline

Definition at line 98 of file SDWeatherHandler.h.

References clearAll().

Member Function Documentation

void casacore::SDWeatherHandler::attach ( MeasurementSet ms,
Vector< Bool > &  handledCols,
const Record row 
)

attach to a MS, mark fields in row as handled

void casacore::SDWeatherHandler::clearAll ( )
private

cleanup everything

Referenced by ~SDWeatherHandler().

void casacore::SDWeatherHandler::clearRow ( )
private

cleanup row-related stuff

void casacore::SDWeatherHandler::fill ( const Record row,
Int  antennaId,
Double  time,
Vector< Double > &  timeRange 
)

fill - a new row is added as necessary, there is no lookback to see if a row could be reused.

Only the current row might be reused.

void casacore::SDWeatherHandler::initAll ( MeasurementSet ms,
Vector< Bool > &  handledCols,
const Record row 
)
private

initialize everything

void casacore::SDWeatherHandler::initRow ( Vector< Bool > &  handledCols,
const Record row 
)
private

intialize the row related stuff

SDWeatherHandler& casacore::SDWeatherHandler::operator= ( const SDWeatherHandler other)

assignment operator, uses copy semantics

void casacore::SDWeatherHandler::resetRow ( const Record row)

reset internals given indicated row, use the same MS

Member Data Documentation

Int casacore::SDWeatherHandler::dewpointId_p
private

Definition at line 118 of file SDWeatherHandler.h.

RORecordFieldPtr<Float> casacore::SDWeatherHandler::H2OField_p
private

additional fields from an SDFITS file that had a previous life as a MS

Definition at line 121 of file SDWeatherHandler.h.

RORecordFieldPtr<Float> casacore::SDWeatherHandler::humidityField_p
private

Definition at line 121 of file SDWeatherHandler.h.

Int casacore::SDWeatherHandler::humidityId_p
private

Definition at line 118 of file SDWeatherHandler.h.

RORecordFieldPtr<Double> casacore::SDWeatherHandler::intervalField_p
private

Definition at line 123 of file SDWeatherHandler.h.

RORecordFieldPtr<Float> casacore::SDWeatherHandler::ionosElectronField_p
private

Definition at line 121 of file SDWeatherHandler.h.

MSWeather* casacore::SDWeatherHandler::msWeather_p
private

Definition at line 113 of file SDWeatherHandler.h.

MSWeatherColumns* casacore::SDWeatherHandler::msWeatherCols_p
private

Definition at line 114 of file SDWeatherHandler.h.

RORecordFieldPtr<Float> casacore::SDWeatherHandler::pressureField_p
private

Definition at line 121 of file SDWeatherHandler.h.

Int casacore::SDWeatherHandler::pressureId_p
private

Definition at line 118 of file SDWeatherHandler.h.

Int casacore::SDWeatherHandler::rownr_p
private

Definition at line 116 of file SDWeatherHandler.h.

Int casacore::SDWeatherHandler::tambientId_p
private

Definition at line 118 of file SDWeatherHandler.h.

RORecordFieldPtr<Float> casacore::SDWeatherHandler::temperatureField_p
private

Definition at line 121 of file SDWeatherHandler.h.

RORecordFieldPtr<Double> casacore::SDWeatherHandler::timeField_p
private

Definition at line 123 of file SDWeatherHandler.h.

Int casacore::SDWeatherHandler::winddireId_p
private

Definition at line 118 of file SDWeatherHandler.h.

RORecordFieldPtr<Float> casacore::SDWeatherHandler::windDirField_p
private

Definition at line 121 of file SDWeatherHandler.h.

RORecordFieldPtr<Float> casacore::SDWeatherHandler::windSpeedField_p
private

Definition at line 121 of file SDWeatherHandler.h.

Int casacore::SDWeatherHandler::windspeeId_p
private

Definition at line 118 of file SDWeatherHandler.h.


The documentation for this class was generated from the following file: