casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
casa::SDFITSHandler Class Reference

#include <SDFITSHandler.h>

List of all members.

Public Member Functions

 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.
 SDFITSHandler (const SDFITSHandler &other)
 copy ctor
 ~SDFITSHandler ()
SDFITSHandleroperator= (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.
void fill (const Record &row, const MEpoch &time, const Double &interval)
 fill - a new row is always added

Private Member Functions

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

Private Attributes

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

Detailed Description

Intended use:

Internal or

Intended use:

Internal

 <h3>Review Status</h3><dl><dt>Date Reviewed:<dd>yyyy/mm/dd</dl> 

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Definition at line 89 of file SDFITSHandler.h.


Constructor & Destructor Documentation

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

casa::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.

copy ctor

Definition at line 102 of file SDFITSHandler.h.

References clearAll().


Member Function Documentation

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

void casa::SDFITSHandler::clearAll ( ) [private]

cleanup everything

Referenced by ~SDFITSHandler().

void casa::SDFITSHandler::clearRow ( ) [private]

cleanup the row related stuff

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

fill - a new row is always added

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

initialize everything

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

intialize the row related stuff

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

assignment operator, uses copy semantics

TableDesc casa::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

this copies everything from the row to the table

Definition at line 124 of file SDFITSHandler.h.

the INTERVAL column

Definition at line 121 of file SDFITSHandler.h.

the output table

Definition at line 115 of file SDFITSHandler.h.

the TIME column

Definition at line 118 of file SDFITSHandler.h.


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