SDFieldHandler.h

Classes

SDFieldHandler -- (full description)

class SDFieldHandler

Interface

Public Members
SDFieldHandler()
SDFieldHandler(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)
SDFieldHandler(const SDFieldHandler &other)
~SDFieldHandler()
SDFieldHandler &operator=(const SDFieldHandler &other)
void attach(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)
void resetRow(const Record &row)
void fill(const Record &row, const String &name, Int directionRefType, const Matrix<Double> &directionPoly, Double time, Int sourceId)
Int fieldId()
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

SDFieldHandler()

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

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

attach this to a MS - no columns are explicitly handled here

SDFieldHandler(const SDFieldHandler &other)

copy ctor

~SDFieldHandler()

SDFieldHandler &operator=(const SDFieldHandler &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 &row)

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

void fill(const Record &row, const String &name, Int directionRefType, const Matrix<Double> &directionPoly, Double time, Int sourceId)

fill - a new row is added at each call unless the data is from a previous MS fill in which case an existing MAIN_FIELD_ID is used to see if that existing row might be reused

Int fieldId()

get the current field ID

void clearAll()

cleanup everything

void clearRow()

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

initialize everything

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

initialize things which depend on the row