SDMainHandler.h

Classes

SDMainHandler -- (full description)

class SDMainHandler

Interface

Public Members
SDMainHandler()
SDMainHandler(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)
SDMainHandler(const SDMainHandler &other)
~SDMainHandler()
SDMainHandler &operator=(const SDMainHandler &other)
void attach(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)
void resetRow(const Record &row)
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)
Private Members
void clearAll()
void clearRow()
void initAll(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)
void initRow(Vector<Bool> &handledCols, 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

SDMainHandler()

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

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

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

SDMainHandler(const SDMainHandler &other)

copy ctor

~SDMainHandler()

SDMainHandler &operator=(const SDMainHandler &other)

assignment operator, uses copy semantics

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

attach to a MS, mark fields in row as handled

void resetRow(const Record &row)

reset internals given indicated row, use the same MS

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

void clearAll()

cleanup everything

void clearRow()

cleanup row-related stuff

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

initialize everything

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

intialize the row related stuff