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

#include <SDSpWinHandler.h>

List of all members.

Public Member Functions

 SDSpWindowHandler ()
 default ctor is not attached to a MS and hence is useless until attached
 SDSpWindowHandler (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 attach this to a MS, marking fields in row which are explicitly handled here
 SDSpWindowHandler (const SDSpWindowHandler &other)
 copy ctor
 ~SDSpWindowHandler ()
SDSpWindowHandleroperator= (const SDSpWindowHandler &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, const Vector< Double > &frequency, Double refFrequency, Double originalFreqDelt, Int freqRefType)
 fill - a circular buffer of last 100 spectral windows is checked
Int spWindowId ()
 get the current spWindow 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< IntnchanKey_p
RecordFieldPtr< IntfreqRefTypeKey_p
RecordFieldPtr< IntifConvChainKey_p
RecordFieldPtr< IntfreqGroupKey_p
RecordFieldPtr< IntnetSidebandKey_p
Vector< DoublefNCache_p
Vector< Doublef0Cache_p
Vector< DoublebwCache_p
DoublefNCachePtr_p
Doublef0CachePtr_p
DoublebwCachePtr_p
Bool deleteItFN_p
Bool deleteItF0_p
Bool deleteItBw_p
RecordFieldPtr< BoolflagRowKey_p
ColumnsIndexindex_p
 the cache table is the one that is indexed
TabletheCache_p
 temporary table to hold the fields we are indexing on, can't index on array column
MSSpectralWindowmsSpWin_p
MSSpWindowColumnsmsSpWinCols_p
TableColumn idCol_p
 the columns in the cache table
TableColumn nchanCol_p
TableColumn freqRefTypeCol_p
TableColumn freqresCol_p
TableColumn ifConvChainCol_p
TableColumn freqGroupCol_p
TableColumn netSidebandCol_p
TableColumn flagRowCol_p
uInt nextCacheRow_p
 the next row number to use in the cached
uInt cacheSize_p
 the maximum number of rows in the cache - currently this is 1000
Int rownr_p
 the current row number in the SPECTRAL_WINDOW table, i.e.
Int bandwidField_p
 fields possibly mined from the SDFITS row floating point fields that we can't be certain of their type
Int freqresField_p
RORecordFieldPtr< IntspWinIdField_p
 fields from a previous life as a MS
RORecordFieldPtr< IntifConvChainField_p
RORecordFieldPtr< IntfreqGroupField_p
RORecordFieldPtr< IntnetSidebandField_p
RORecordFieldPtr< BoolflagRowField_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 88 of file SDSpWinHandler.h.


Constructor & Destructor Documentation

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

casa::SDSpWindowHandler::SDSpWindowHandler ( 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 100 of file SDSpWinHandler.h.

References clearAll().


Member Function Documentation

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

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

cleanup everything

Referenced by ~SDSpWindowHandler().

clean up items related to the row

void casa::SDSpWindowHandler::fill ( const Record row,
const Vector< Double > &  frequency,
Double  refFrequency,
Double  originalFreqDelt,
Int  freqRefType 
)

fill - a circular buffer of last 100 spectral windows is checked

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

initialize everything

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

initialize the stuff dependent on the row

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

assignment operator, uses copy semantics

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

get the current spWindow ID

Definition at line 116 of file SDSpWinHandler.h.

References rownr_p.


Member Data Documentation

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

Definition at line 147 of file SDSpWinHandler.h.

Definition at line 120 of file SDSpWinHandler.h.

Definition at line 121 of file SDSpWinHandler.h.

the maximum number of rows in the cache - currently this is 1000

Definition at line 140 of file SDSpWinHandler.h.

Definition at line 122 of file SDSpWinHandler.h.

Definition at line 122 of file SDSpWinHandler.h.

Definition at line 122 of file SDSpWinHandler.h.

Definition at line 120 of file SDSpWinHandler.h.

Definition at line 121 of file SDSpWinHandler.h.

Definition at line 132 of file SDSpWinHandler.h.

Definition at line 152 of file SDSpWinHandler.h.

Definition at line 123 of file SDSpWinHandler.h.

Definition at line 120 of file SDSpWinHandler.h.

Definition at line 121 of file SDSpWinHandler.h.

Definition at line 132 of file SDSpWinHandler.h.

Definition at line 150 of file SDSpWinHandler.h.

Definition at line 118 of file SDSpWinHandler.h.

Definition at line 132 of file SDSpWinHandler.h.

Definition at line 118 of file SDSpWinHandler.h.

Definition at line 132 of file SDSpWinHandler.h.

Definition at line 147 of file SDSpWinHandler.h.

the columns in the cache table

Definition at line 132 of file SDSpWinHandler.h.

Definition at line 132 of file SDSpWinHandler.h.

Definition at line 150 of file SDSpWinHandler.h.

Definition at line 118 of file SDSpWinHandler.h.

the cache table is the one that is indexed

Definition at line 125 of file SDSpWinHandler.h.

Definition at line 128 of file SDSpWinHandler.h.

Definition at line 129 of file SDSpWinHandler.h.

Definition at line 132 of file SDSpWinHandler.h.

Definition at line 118 of file SDSpWinHandler.h.

Definition at line 132 of file SDSpWinHandler.h.

Definition at line 150 of file SDSpWinHandler.h.

Definition at line 118 of file SDSpWinHandler.h.

the next row number to use in the cached

Definition at line 137 of file SDSpWinHandler.h.

the current row number in the SPECTRAL_WINDOW table, i.e.

the id

Definition at line 143 of file SDSpWinHandler.h.

Referenced by spWindowId().

fields from a previous life as a MS

Definition at line 150 of file SDSpWinHandler.h.

temporary table to hold the fields we are indexing on, can't index on array column

Definition at line 127 of file SDSpWinHandler.h.


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