casa  5.7.0-16
 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::SDMainHandler Class Reference

#include <SDMainHandler.h>

Public Member Functions

 SDMainHandler ()
 default ctor is not attached to a MS and hence is useless until attached More...
 
 SDMainHandler (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 attach this to a MS - mark fields in row as handled More...
 
 SDMainHandler (const SDMainHandler &other)
 copy ctor More...
 
 ~SDMainHandler ()
 
SDMainHandleroperator= (const SDMainHandler &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, const MEpoch &time, Int antennaId, Int feedId, Int dataDescId, Int fieldId, const MVTime &exposure, Int observationId, const Matrix< Float > &floatData)
 fill - a new row is always added 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

MeasurementSetms_p
 
MSMainColumnsmsCols_p
 
Int scanNumberId_p
 
DataType scanNumberType_p
 
Int arrayIdId_p
 fields from sdfits2ms, independent of MS version number so far More...
 
Int sigmaId_p
 
Int flagRowId_p
 
Int intervalId_p
 
Int weightId_p
 
Int flagId_p
 
Int timeCentroidId_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 89 of file SDMainHandler.h.

Constructor & Destructor Documentation

casacore::SDMainHandler::SDMainHandler ( )

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

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

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

casacore::SDMainHandler::SDMainHandler ( const SDMainHandler other)

copy ctor

casacore::SDMainHandler::~SDMainHandler ( )
inline

Definition at line 101 of file SDMainHandler.h.

References clearAll().

Member Function Documentation

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

attach to a MS, mark fields in row as handled

void casacore::SDMainHandler::clearAll ( )
private

cleanup everything

Referenced by ~SDMainHandler().

void casacore::SDMainHandler::clearRow ( )
private

cleanup row-related stuff

void casacore::SDMainHandler::fill ( const Record row,
const MEpoch time,
Int  antennaId,
Int  feedId,
Int  dataDescId,
Int  fieldId,
const MVTime exposure,
Int  observationId,
const Matrix< Float > &  floatData 
)

fill - a new row is always added

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

initialize everything

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

intialize the row related stuff

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

assignment operator, uses copy semantics

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

reset internals given indicated row, use the same MS

Member Data Documentation

Int casacore::SDMainHandler::arrayIdId_p
private

fields from sdfits2ms, independent of MS version number so far

Definition at line 124 of file SDMainHandler.h.

Int casacore::SDMainHandler::flagId_p
private

Definition at line 124 of file SDMainHandler.h.

Int casacore::SDMainHandler::flagRowId_p
private

Definition at line 124 of file SDMainHandler.h.

Int casacore::SDMainHandler::intervalId_p
private

Definition at line 124 of file SDMainHandler.h.

MeasurementSet* casacore::SDMainHandler::ms_p
private

Definition at line 117 of file SDMainHandler.h.

MSMainColumns* casacore::SDMainHandler::msCols_p
private

Definition at line 118 of file SDMainHandler.h.

Int casacore::SDMainHandler::scanNumberId_p
private

Definition at line 120 of file SDMainHandler.h.

DataType casacore::SDMainHandler::scanNumberType_p
private

Definition at line 121 of file SDMainHandler.h.

Int casacore::SDMainHandler::sigmaId_p
private

Definition at line 124 of file SDMainHandler.h.

Int casacore::SDMainHandler::timeCentroidId_p
private

Definition at line 124 of file SDMainHandler.h.

Int casacore::SDMainHandler::weightId_p
private

Definition at line 124 of file SDMainHandler.h.


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