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

More...

#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 87 of file SDMainHandler.h.

Constructor & Destructor Documentation

◆ SDMainHandler() [1/3]

casacore::SDMainHandler::SDMainHandler ( )

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

◆ SDMainHandler() [2/3]

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

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

◆ SDMainHandler() [3/3]

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

copy ctor

◆ ~SDMainHandler()

casacore::SDMainHandler::~SDMainHandler ( )
inline

Definition at line 99 of file SDMainHandler.h.

References clearAll().

Member Function Documentation

◆ attach()

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

attach to a MS, mark fields in row as handled

◆ clearAll()

void casacore::SDMainHandler::clearAll ( )
private

cleanup everything

Referenced by ~SDMainHandler().

◆ clearRow()

void casacore::SDMainHandler::clearRow ( )
private

cleanup row-related stuff

◆ fill()

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

◆ initAll()

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

initialize everything

◆ initRow()

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

intialize the row related stuff

◆ operator=()

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

assignment operator, uses copy semantics

◆ resetRow()

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

reset internals given indicated row, use the same MS

Member Data Documentation

◆ arrayIdId_p

Int casacore::SDMainHandler::arrayIdId_p
private

fields from sdfits2ms, independent of MS version number so far

Definition at line 122 of file SDMainHandler.h.

◆ flagId_p

Int casacore::SDMainHandler::flagId_p
private

Definition at line 122 of file SDMainHandler.h.

◆ flagRowId_p

Int casacore::SDMainHandler::flagRowId_p
private

Definition at line 122 of file SDMainHandler.h.

◆ intervalId_p

Int casacore::SDMainHandler::intervalId_p
private

Definition at line 122 of file SDMainHandler.h.

◆ ms_p

MeasurementSet* casacore::SDMainHandler::ms_p
private

Definition at line 115 of file SDMainHandler.h.

◆ msCols_p

MSMainColumns* casacore::SDMainHandler::msCols_p
private

Definition at line 116 of file SDMainHandler.h.

◆ scanNumberId_p

Int casacore::SDMainHandler::scanNumberId_p
private

Definition at line 118 of file SDMainHandler.h.

◆ scanNumberType_p

DataType casacore::SDMainHandler::scanNumberType_p
private

Definition at line 119 of file SDMainHandler.h.

◆ sigmaId_p

Int casacore::SDMainHandler::sigmaId_p
private

Definition at line 122 of file SDMainHandler.h.

◆ timeCentroidId_p

Int casacore::SDMainHandler::timeCentroidId_p
private

Definition at line 123 of file SDMainHandler.h.

◆ weightId_p

Int casacore::SDMainHandler::weightId_p
private

Definition at line 122 of file SDMainHandler.h.


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