casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
casa::SDFieldHandler Class Reference

#include <SDFieldHandler.h>

List of all members.

Public Member Functions

 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 ()
SDFieldHandleroperator= (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

Private Member Functions

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

Private Attributes

MSFieldmsField_p
MSFieldColumnsmsFieldCols_p
Int rownr_p
RORecordFieldPtr< IntfieldIdField_p
 fields which might be present if the data is originally from a MS
RORecordFieldPtr< StringcodeField_p
RORecordFieldPtr< StringnameField_p
RORecordFieldPtr< DoubletimeField_p
RORecordFieldPtr< Array< Double > > delayDirField_p
RORecordFieldPtr< Array< Double > > delayDirRateField_p
RORecordFieldPtr< Array< Double > > phaseDirField_p
RORecordFieldPtr< Array< Double > > phaseDirRateField_p
RORecordFieldPtr< Array< Double > > referenceDirField_p
RORecordFieldPtr< Array< Double > > referenceDirRateField_p
RORecordFieldPtr< BoolflagRowField_p
ColumnsIndexindex_p
RecordFieldPtr< StringnameKey_p
RecordFieldPtr< IntsourceIdKey_p
RecordFieldPtr< DoubletimeKey_p

Detailed Description

Intended use:

Internal or

Intended use:

Internal

 <h3>Review Status</h3><dl><dt>Date Reviewed:<dd>yyyy/mm/dd</dl> 

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Definition at line 90 of file SDFieldHandler.h.


Constructor & Destructor Documentation

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

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

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

copy ctor

Definition at line 102 of file SDFieldHandler.h.

References clearAll().


Member Function Documentation

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

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

void casa::SDFieldHandler::clearAll ( ) [private]

cleanup everything

Referenced by ~SDFieldHandler().

void casa::SDFieldHandler::clearRow ( ) [private]

get the current field ID

Definition at line 120 of file SDFieldHandler.h.

References rownr_p.

void casa::SDFieldHandler::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

void casa::SDFieldHandler::initAll ( MeasurementSet ms,
Vector< Bool > &  handledCols,
const Record row 
) [private]

initialize everything

void casa::SDFieldHandler::initRow ( Vector< Bool > &  handledCols,
const Record row 
) [private]

initialize things which depend on the row

SDFieldHandler& casa::SDFieldHandler::operator= ( const SDFieldHandler other)

assignment operator, uses copy semantics

void casa::SDFieldHandler::resetRow ( const Record row)

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


Member Data Documentation

Definition at line 129 of file SDFieldHandler.h.

Definition at line 131 of file SDFieldHandler.h.

Definition at line 131 of file SDFieldHandler.h.

fields which might be present if the data is originally from a MS

Definition at line 128 of file SDFieldHandler.h.

Definition at line 134 of file SDFieldHandler.h.

Definition at line 136 of file SDFieldHandler.h.

Definition at line 122 of file SDFieldHandler.h.

Definition at line 123 of file SDFieldHandler.h.

Definition at line 129 of file SDFieldHandler.h.

Definition at line 137 of file SDFieldHandler.h.

Definition at line 131 of file SDFieldHandler.h.

Definition at line 131 of file SDFieldHandler.h.

Definition at line 131 of file SDFieldHandler.h.

Definition at line 131 of file SDFieldHandler.h.

Definition at line 125 of file SDFieldHandler.h.

Referenced by fieldId().

Definition at line 138 of file SDFieldHandler.h.

Definition at line 130 of file SDFieldHandler.h.

Definition at line 139 of file SDFieldHandler.h.


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