casa
5.7.0-16
|
A class to provide easy read-only access to new CalTable columns. More...
#include <CTColumns.h>
Private Attributes | |
ROCTObservationColumns | observation_p |
Access to subtables. More... | |
ROCTAntennaColumns | antenna_p |
ROCTFieldColumns | field_p |
ROCTHistoryColumns | history_p |
ROCTSpWindowColumns | spectralWindow_p |
Friends | |
class | NewCalTable |
Access to optional subtables. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from casa::ROCTMainColumns | |
ROCTMainColumns () | |
Prohibit public use of the null constructor, which does not produce a usable object. More... | |
void | attach (const NewCalTable &calTable, casacore::TableColumn &tabCol, CTEnums::colDef colEnum, const casacore::Bool &optional=false) |
Return a CalTable as a casacore::Table reference. More... | |
void | attach (const NewCalTable &calTable, casacore::ROArrayMeasColumn< casacore::MEpoch > &tabCol, CTEnums::colDef colEnum, const casacore::Bool &optional=false) |
void | attach (const NewCalTable &calTable, casacore::ROArrayMeasColumn< casacore::MFrequency > &tabCol, CTEnums::colDef colEnum, const casacore::Bool &optional=false) |
void | attach (const NewCalTable &calTable, casacore::ROArrayMeasColumn< casacore::MDirection > &tabCol, CTEnums::colDef colEnum, const casacore::Bool &optional=false) |
void | attach (const NewCalTable &calTable, casacore::ROScalarMeasColumn< casacore::MEpoch > &tabCol, CTEnums::colDef colEnum, const casacore::Bool &optional=false) |
void | attach (const NewCalTable &calTable, casacore::ROScalarQuantColumn< casacore::Double > &tabCol, CTEnums::colDef colEnum, const casacore::Bool &optional=false) |
A class to provide easy read-only access to new CalTable columns.
Public interface
ROCTColumns stands for Read-Only NewCalTable casacore::Table columns.
This class provides read-only access to the columns in the NewCalTable, similar to the casacore::ROMSColumns for MeasurementSet. It does the declaration of all the Scalar and ArrayColumns with the correct types, so the application programmer doesn't have to worry about getting those right. There is an access function for every predefined column. Access to non-predefined columns will still have to be done with explicit declarations.
See CTColumns for the motivation.
Definition at line 92 of file CTColumns.h.
casa::ROCTColumns::ROCTColumns | ( | const NewCalTable & | caltable | ) |
Create a columns object that accesses the data in the specified MS.
casa::ROCTColumns::~ROCTColumns | ( | ) |
The destructor does nothing special.
|
inline |
Definition at line 104 of file CTColumns.h.
References antenna_p.
|
inline |
Definition at line 105 of file CTColumns.h.
References field_p.
|
inline |
Definition at line 106 of file CTColumns.h.
References history_p.
|
inline |
|
inline |
Definition at line 107 of file CTColumns.h.
References spectralWindow_p.
|
friend |
Access to optional subtables.
Definition at line 116 of file CTColumns.h.
|
private |
Definition at line 120 of file CTColumns.h.
Referenced by antenna().
|
private |
Definition at line 121 of file CTColumns.h.
Referenced by field().
|
private |
Definition at line 122 of file CTColumns.h.
Referenced by history().
|
private |
|
private |
Definition at line 123 of file CTColumns.h.
Referenced by spectralWindow().