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

#include <SDSourceHandler.h>

List of all members.

Public Member Functions

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

Private Member Functions

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

Private Attributes

RecordFieldPtr< StringnameKey_p
RecordFieldPtr< StringcodeKey_p
ColumnsIndexindex_p
MSSourcemsSource_p
MSSourceColumnsmsSourceCols_p
Int sourceId_p
 the current source ID
Int nextSourceId_p
 the next source ID to use
Int restfreq_p
 fields possibly mined from the SDFITS row floating point fields that we can't be certain of their type
Int rvsys_p
Int vframe_p
RORecordFieldPtr< Stringtransiti_p
 String fields.
RORecordFieldPtr< Stringmolecule_p
RORecordFieldPtr< Stringobject_p
RORecordFieldPtr< Stringobsmode_p
Bool hasTransition_p
 which optional colums exist
Bool hasRestFreq_p
Bool hasSysVel_p
Bool hasPosition_p
RORecordFieldPtr< IntcalibrationGroupField_p
 fields which might come from a pre-existin MS
RORecordFieldPtr< IntpulsarIdField_p
RORecordFieldPtr< DoubletimeField_p
RORecordFieldPtr< DoubleintervalField_p
RORecordFieldPtr< Array< Double > > directionField_p
RORecordFieldPtr< Array< Double > > positionField_p
RORecordFieldPtr< Array< Double > > properMotionField_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 87 of file SDSourceHandler.h.


Constructor & Destructor Documentation

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

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

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

copy ctor

Definition at line 99 of file SDSourceHandler.h.

References clearAll().


Member Function Documentation

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

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

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

cleanup everything

Referenced by ~SDSourceHandler().

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

clean up items related to the row

void casa::SDSourceHandler::fill ( const Record row,
Int  spectralWindowId 
)

fill - a source is unique in source name and code

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

initialize everything

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

initialize the stuff dependent on the row

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

assignment operator, uses copy semantics

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

get the current source ID

Definition at line 114 of file SDSourceHandler.h.

References sourceId_p.


Member Data Documentation

fields which might come from a pre-existin MS

Definition at line 137 of file SDSourceHandler.h.

Definition at line 116 of file SDSourceHandler.h.

Definition at line 139 of file SDSourceHandler.h.

Definition at line 134 of file SDSourceHandler.h.

Definition at line 134 of file SDSourceHandler.h.

Definition at line 134 of file SDSourceHandler.h.

which optional colums exist

Definition at line 134 of file SDSourceHandler.h.

Definition at line 117 of file SDSourceHandler.h.

Definition at line 138 of file SDSourceHandler.h.

Definition at line 131 of file SDSourceHandler.h.

Definition at line 118 of file SDSourceHandler.h.

Definition at line 119 of file SDSourceHandler.h.

Definition at line 116 of file SDSourceHandler.h.

the next source ID to use

Definition at line 125 of file SDSourceHandler.h.

Definition at line 131 of file SDSourceHandler.h.

Definition at line 131 of file SDSourceHandler.h.

Definition at line 139 of file SDSourceHandler.h.

Definition at line 139 of file SDSourceHandler.h.

Definition at line 137 of file SDSourceHandler.h.

fields possibly mined from the SDFITS row floating point fields that we can't be certain of their type

Definition at line 129 of file SDSourceHandler.h.

Definition at line 129 of file SDSourceHandler.h.

the current source ID

Definition at line 122 of file SDSourceHandler.h.

Referenced by sourceId().

Definition at line 138 of file SDSourceHandler.h.

String fields.

Definition at line 131 of file SDSourceHandler.h.

Definition at line 129 of file SDSourceHandler.h.


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