casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::SDDataDescHandler Class Reference

#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

casacore::SDDataDescHandler::SDDataDescHandler ( )

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

casacore::SDDataDescHandler::SDDataDescHandler ( MeasurementSet ms)

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

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

copy ctor

casacore::SDDataDescHandler::~SDDataDescHandler ( )
inline

Definition at line 99 of file SDDataDescHandler.h.

References clearAll().

Member Function Documentation

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

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

void casacore::SDDataDescHandler::clearAll ( )
private

cleanup everything

Referenced by ~SDDataDescHandler().

Int casacore::SDDataDescHandler::dataDescId ( )
inline

get the current dataDesc ID

Definition at line 114 of file SDDataDescHandler.h.

References rownr_p.

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

fill - a new row is added only when necessary

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

initialize everything

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

assignment operator, uses copy semantics

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

ColumnsIndex* casacore::SDDataDescHandler::index_p
private

Definition at line 117 of file SDDataDescHandler.h.

MSDataDescription* casacore::SDDataDescHandler::msDataDesc_p
private

Definition at line 118 of file SDDataDescHandler.h.

MSDataDescColumns* casacore::SDDataDescHandler::msDataDescCols_p
private

Definition at line 119 of file SDDataDescHandler.h.

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

Definition at line 116 of file SDDataDescHandler.h.

Int casacore::SDDataDescHandler::rownr_p
private

Definition at line 121 of file SDDataDescHandler.h.

Referenced by dataDescId(), and resetRow().

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: