SDSourceHandler.h

Classes

SDSourceHandler -- (full description)

class SDSourceHandler

Interface

Public Members
SDSourceHandler()
SDSourceHandler(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)
SDSourceHandler(const SDSourceHandler &other)
~SDSourceHandler()
SDSourceHandler &operator=(const SDSourceHandler &other)
void attach(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)
void resetRow(const Record &)
void fill(const Record &row, Int spectralWindowId)
Int sourceId()
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

SDSourceHandler()

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

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

attach this to a MS, marking fields in row which are explicitly handled here

SDSourceHandler(const SDSourceHandler &other)

copy ctor

~SDSourceHandler()

SDSourceHandler &operator=(const SDSourceHandler &other)

assignment operator, uses copy semantics

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

attach to a MS, the handledCols and row arguments are ignored here

void resetRow(const Record &)

reset internals given indicated row, use the same MS; just resets the id pointer

void fill(const Record &row, Int spectralWindowId)

fill - a source is unique in source name and code

Int sourceId()

get the current source ID

void clearAll()

cleanup everything

void clearRow()

clean up items related to the row

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

initialize everything

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

initialize the stuff dependent on the row