casacore
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::SDDataDescHandler Class Reference

More...

#include <SDDataDescHandler.h>

Public Member Functions

 SDDataDescHandler ()
 default ctor is not attached to a MS and hence is useless until attached More...
 
 SDDataDescHandler (MeasurementSet &ms)
 attach this to a MS - no columns are explicitly handled here More...
 
 SDDataDescHandler (const SDDataDescHandler &other)
 copy ctor More...
 
 ~SDDataDescHandler ()
 
SDDataDescHandleroperator= (const SDDataDescHandler &other)
 assignment operator, uses copy semantics More...
 
void attach (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 attach to a MS, the handledCols and row arguments are ignored here More...
 
void resetRow (const Record &)
 reset internals given indicated row, use the same MS; just resets the id pointer More...
 
void fill (const Record &row, Int spwinId, Int polId)
 fill - a new row is added only when necessary More...
 
Int dataDescId ()
 get the current dataDesc ID More...
 

Private Member Functions

void clearAll ()
 cleanup everything More...
 
void initAll (MeasurementSet &ms)
 initialize everything More...
 

Private Attributes

RecordFieldPtr< IntspwinIdKey_p
 
RecordFieldPtr< IntpolIdKey_p
 
ColumnsIndexindex_p
 
MSDataDescriptionmsDataDesc_p
 
MSDataDescColumnsmsDataDescCols_p
 
Int rownr_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 87 of file SDDataDescHandler.h.

Constructor & Destructor Documentation

◆ SDDataDescHandler() [1/3]

casacore::SDDataDescHandler::SDDataDescHandler ( )

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

◆ SDDataDescHandler() [2/3]

casacore::SDDataDescHandler::SDDataDescHandler ( MeasurementSet ms)

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

◆ SDDataDescHandler() [3/3]

casacore::SDDataDescHandler::SDDataDescHandler ( const SDDataDescHandler other)

copy ctor

◆ ~SDDataDescHandler()

casacore::SDDataDescHandler::~SDDataDescHandler ( )
inline

Definition at line 99 of file SDDataDescHandler.h.

References clearAll().

Member Function Documentation

◆ attach()

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

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

◆ clearAll()

void casacore::SDDataDescHandler::clearAll ( )
private

cleanup everything

Referenced by ~SDDataDescHandler().

◆ dataDescId()

Int casacore::SDDataDescHandler::dataDescId ( )
inline

get the current dataDesc ID

Definition at line 114 of file SDDataDescHandler.h.

References rownr_p.

◆ fill()

void casacore::SDDataDescHandler::fill ( const Record row,
Int  spwinId,
Int  polId 
)

fill - a new row is added only when necessary

◆ initAll()

void casacore::SDDataDescHandler::initAll ( MeasurementSet ms)
private

initialize everything

◆ operator=()

SDDataDescHandler& casacore::SDDataDescHandler::operator= ( const SDDataDescHandler other)

assignment operator, uses copy semantics

◆ resetRow()

void casacore::SDDataDescHandler::resetRow ( const Record )
inline

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

Definition at line 108 of file SDDataDescHandler.h.

References rownr_p.

Member Data Documentation

◆ index_p

ColumnsIndex* casacore::SDDataDescHandler::index_p
private

Definition at line 117 of file SDDataDescHandler.h.

◆ msDataDesc_p

MSDataDescription* casacore::SDDataDescHandler::msDataDesc_p
private

Definition at line 118 of file SDDataDescHandler.h.

◆ msDataDescCols_p

MSDataDescColumns* casacore::SDDataDescHandler::msDataDescCols_p
private

Definition at line 119 of file SDDataDescHandler.h.

◆ polIdKey_p

RecordFieldPtr<Int> casacore::SDDataDescHandler::polIdKey_p
private

Definition at line 116 of file SDDataDescHandler.h.

◆ rownr_p

Int casacore::SDDataDescHandler::rownr_p
private

Definition at line 121 of file SDDataDescHandler.h.

Referenced by dataDescId(), and resetRow().

◆ spwinIdKey_p

RecordFieldPtr<Int> casacore::SDDataDescHandler::spwinIdKey_p
private

Definition at line 116 of file SDDataDescHandler.h.


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