casacore
Public Member Functions | Private Member Functions | Private Attributes | List of all members

More...

#include <SDFITSHandler.h>

Public Member Functions

 SDFITSHandler ()
 default ctor is not attached to a MS and hence is useless until attached More...
 
 SDFITSHandler (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 attach this to a MS - any unhandled fields in row are handled here. More...
 
 SDFITSHandler (const SDFITSHandler &other)
 copy ctor More...
 
 ~SDFITSHandler ()
 
SDFITSHandleroperator= (const SDFITSHandler &other)
 assignment operator, uses copy semantics More...
 
void attach (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 attach to a MS - any unhandled fields in row are handled here. More...
 
void fill (const Record &row, const MEpoch &time, const Double &interval)
 fill - a new row is always added More...
 

Private Member Functions

void clearAll ()
 cleanup everything More...
 
void clearRow ()
 cleanup the row related stuff More...
 
void initAll (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 initialize everything More...
 
void initRow (Vector< Bool > &handledCols, const Vector< String > &colNames, const Record &row)
 intialize the row related stuff More...
 
TableDesc requiredTableDesc (Vector< Bool > &handledCols, Vector< String > &colNames, const Record &row)
 get the required table desc given the unhandled columns and the row More...
 

Private Attributes

Tabletab_p
 the output table More...
 
ScalarMeasColumn< MEpochtimeMeas_p
 the TIME column More...
 
ScalarQuantColumn< DoubleintervalQuant_p
 the INTERVAL column More...
 
CopyRecordToTablecopier_p
 this copies everything from the row to the table More...
 

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 88 of file SDFITSHandler.h.

Constructor & Destructor Documentation

◆ SDFITSHandler() [1/3]

casacore::SDFITSHandler::SDFITSHandler ( )

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

◆ SDFITSHandler() [2/3]

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

attach this to a MS - any unhandled fields in row are handled here.

This handler must be attached last.

◆ SDFITSHandler() [3/3]

casacore::SDFITSHandler::SDFITSHandler ( const SDFITSHandler other)

copy ctor

◆ ~SDFITSHandler()

casacore::SDFITSHandler::~SDFITSHandler ( )
inline

Definition at line 101 of file SDFITSHandler.h.

References clearAll().

Member Function Documentation

◆ attach()

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

attach to a MS - any unhandled fields in row are handled here.

This handler must be attached last.

◆ clearAll()

void casacore::SDFITSHandler::clearAll ( )
private

cleanup everything

Referenced by ~SDFITSHandler().

◆ clearRow()

void casacore::SDFITSHandler::clearRow ( )
private

cleanup the row related stuff

◆ fill()

void casacore::SDFITSHandler::fill ( const Record row,
const MEpoch time,
const Double interval 
)

fill - a new row is always added

◆ initAll()

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

initialize everything

◆ initRow()

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

intialize the row related stuff

◆ operator=()

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

assignment operator, uses copy semantics

◆ requiredTableDesc()

TableDesc casacore::SDFITSHandler::requiredTableDesc ( Vector< Bool > &  handledCols,
Vector< String > &  colNames,
const Record row 
)
private

get the required table desc given the unhandled columns and the row

Member Data Documentation

◆ copier_p

CopyRecordToTable* casacore::SDFITSHandler::copier_p
private

this copies everything from the row to the table

Definition at line 123 of file SDFITSHandler.h.

◆ intervalQuant_p

ScalarQuantColumn<Double> casacore::SDFITSHandler::intervalQuant_p
private

the INTERVAL column

Definition at line 120 of file SDFITSHandler.h.

◆ tab_p

Table* casacore::SDFITSHandler::tab_p
private

the output table

Definition at line 114 of file SDFITSHandler.h.

◆ timeMeas_p

ScalarMeasColumn<MEpoch> casacore::SDFITSHandler::timeMeas_p
private

the TIME column

Definition at line 117 of file SDFITSHandler.h.


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