SDFITSHandler.h

Classes

SDFITSHandler -- (full description)

class SDFITSHandler

Interface

Public Members
SDFITSHandler()
SDFITSHandler(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)
SDFITSHandler(const SDFITSHandler &other)
~SDFITSHandler()
SDFITSHandler &operator=(const SDFITSHandler &other)
void attach(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)
void fill(const Record &row, const MEpoch &time, const Double &interval)
Private Members
void clearAll()
void clearRow()
void initAll(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)
void initRow(Vector<Bool> &handledCols, const Vector<String> &colNames, const Record &row)
TableDesc requiredTableDesc(Vector<Bool> &handledCols, Vector<String> &colNames, const Record &row)

Description

or

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Member Description

SDFITSHandler()

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

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(const SDFITSHandler &other)

copy ctor

~SDFITSHandler()

SDFITSHandler &operator=(const SDFITSHandler &other)

assignment operator, uses copy semantics

void 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.

void fill(const Record &row, const MEpoch &time, const Double &interval)

fill - a new row is always added

void clearAll()

cleanup everything

void clearRow()

cleanup the row related stuff

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

initialize everything

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

intialize the row related stuff

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

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