Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1SDObservationHandler.html
Дата изменения: Unknown
Дата индексирования: Mon Feb 14 23:24:43 2011
Кодировка:

Поисковые слова: п п п п п п п п п п п п п п
casacore: casa::SDObservationHandler Class Reference
Public Member Functions | Private Member Functions | Private Attributes

casa::SDObservationHandler Class Reference
[MSFits_module_internal_classes]

#include <SDObservationHandler.h>

List of all members.

Public Member Functions

 SDObservationHandler ()
 default ctor is not attached to a MS and hence is useless until attached
 SDObservationHandler (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 attach this to a MS, mark the appropriate columns as handled given the indicated row
 SDObservationHandler (const SDObservationHandler &other)
 copy ctor
 ~SDObservationHandler ()
SDObservationHandleroperator= (const SDObservationHandler &other)
 assignment operator, uses copy semantics
void attach (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 attach to a MS, mark the appropriate columns as handled given the row
void resetRow (const Record &row)
 reset internals given indicated row, use the same MS
void fill (const Record &row, const String &telescopeName, const Vector< Double > &timeRange)
 fill - a new row is added only when necessary
Int observationId ()
 get the current observation ID
void updateTimeRange (const Vector< Double > &timeRange)
 update the time range

Private Member Functions

void clearAll ()
 cleanup everything
void clearRow ()
 cleanup things which depend on the row description being fixed
void initAll (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 initialize everything
void initRow (Vector< Bool > &handledCols, const Record &row)
 initialize the things which depend on the row
void makeIndex ()
 initialize the index

Private Attributes

ColumnsIndexindex_p
RecordFieldPtr< StringtelescopeKey_p
RecordFieldPtr< StringobserverKey_p
RecordFieldPtr< StringprojectKey_p
RecordFieldPtr< Stringns_obsidKey_p
RecordFieldPtr< DoublereleaseDateKey_p
RecordFieldPtr< BoolflagRowKey_p
MSObservationmsObs_p
MSObservationColumnsmsObsCols_p
Int rownr_p
ScalarColumn< StringnsObsIdCol_p
RORecordFieldPtr< Stringobserver_p
 pointers to fields in record, only used if attached
RORecordFieldPtr< Stringprojid_p
RORecordFieldPtr< Stringobsid_p
RORecordFieldPtr< DoublereleaseDate_p
RORecordFieldPtr< BoolflagRow_p
RORecordFieldPtr< Array< Double > > timeRange_p

Detailed Description

Intended use:

Internal or

Intended use:

Internal

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Definition at line 89 of file SDObservationHandler.h.


Constructor & Destructor Documentation

casa::SDObservationHandler::SDObservationHandler (  ) 

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

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

attach this to a MS, mark the appropriate columns as handled given the indicated row

casa::SDObservationHandler::SDObservationHandler ( const SDObservationHandler other  ) 

copy ctor

casa::SDObservationHandler::~SDObservationHandler (  )  [inline]

Definition at line 102 of file SDObservationHandler.h.

References clearAll().


Member Function Documentation

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

attach to a MS, mark the appropriate columns as handled given the row

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

cleanup everything

Referenced by ~SDObservationHandler().

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

cleanup things which depend on the row description being fixed

void casa::SDObservationHandler::fill ( const Record row,
const String telescopeName,
const Vector< Double > &  timeRange 
)

fill - a new row is added only when necessary

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

initialize everything

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

initialize the things which depend on the row

void casa::SDObservationHandler::makeIndex (  )  [private]

initialize the index

Int casa::SDObservationHandler::observationId (  )  [inline]

get the current observation ID

Definition at line 117 of file SDObservationHandler.h.

R