casa
5.7.0-16
|
A class to provide easy read-write access to NewCalTable columns. More...
#include <CTColumns.h>
Private Attributes | |
CTObservationColumns | observation_p |
protected: friend class NewCalTable; More... | |
CTAntennaColumns | antenna_p |
CTFieldColumns | field_p |
CTHistoryColumns | history_p |
CTSpWindowColumns | spectralWindow_p |
Additional Inherited Members | |
Protected Member Functions inherited from casa::CTMainColumns | |
CTMainColumns () | |
Prohibit public use of the null constructor, which does not produce a usable object. More... | |
void | attach (NewCalTable &calTable, casacore::TableColumn &tabCol, CTEnums::colDef colEnum, const casacore::Bool &optional=false) |
Return a CalTable as a casacore::Table reference. More... | |
void | attach (NewCalTable &calTable, casacore::ArrayMeasColumn< casacore::MEpoch > &tabCol, CTEnums::colDef colEnum, const casacore::Bool &optional=false) |
void | attach (NewCalTable &calTable, casacore::ArrayMeasColumn< casacore::MFrequency > &tabCol, CTEnums::colDef colEnum, const casacore::Bool &optional=false) |
void | attach (NewCalTable &calTable, casacore::ArrayMeasColumn< casacore::MDirection > &tabCol, CTEnums::colDef colEnum, const casacore::Bool &optional=false) |
void | attach (NewCalTable &calTable, casacore::ScalarMeasColumn< casacore::MEpoch > &tabCol, CTEnums::colDef colEnum, const casacore::Bool &optional=false) |
void | attach (NewCalTable &calTable, casacore::ScalarQuantColumn< casacore::Double > &tabCol, CTEnums::colDef colEnum, const casacore::Bool &optional=false) |
A class to provide easy read-write access to NewCalTable columns.
Public interface
CTColumns stands for NewCalTable columns.
This class provides access to all the subtables and direct access to all the columns in the NewCalTable. 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.
Having to type long lists of Scalar and casacore::Array column declarations gets very tedious. This class attempts to relieve some of that tedium, while at the same time concentrating all the declarations in one place, making Type errors in the column declaration (only caught at run-time) less probable. Type errors in the use of the columns is caught at compile time.
Definition at line 179 of file CTColumns.h.
casa::CTColumns::CTColumns | ( | NewCalTable & | caltable | ) |
Create a columns object that accesses the data in the specified caltable.
casa::CTColumns::~CTColumns | ( | ) |
The destructor does nothing special.
|
inline |
Definition at line 191 of file CTColumns.h.
References antenna_p.
|
inline |
Definition at line 205 of file CTColumns.h.
References antenna_p.
|
inline |
Definition at line 192 of file CTColumns.h.
References field_p.
|
inline |
Definition at line 206 of file CTColumns.h.
References field_p.
|
inline |
Definition at line 193 of file CTColumns.h.
References history_p.
|
inline |
Definition at line 207 of file CTColumns.h.
References history_p.
|
inline |
Read-write access to required subtables.
Definition at line 190 of file CTColumns.h.
References observation_p.
|
inline |
Read-write access to optional subtables.
Read-only access to required subtables
Definition at line 204 of file CTColumns.h.
References observation_p.
|
inline |
Definition at line 194 of file CTColumns.h.
References spectralWindow_p.
|
inline |
Definition at line 208 of file CTColumns.h.
References spectralWindow_p.
|
private |
Definition at line 217 of file CTColumns.h.
Referenced by antenna().
|
private |
Definition at line 218 of file CTColumns.h.
Referenced by field().
|
private |
Definition at line 219 of file CTColumns.h.
Referenced by history().
|
private |
protected: friend class NewCalTable;
Access to subtables
Definition at line 216 of file CTColumns.h.
Referenced by observation().
|
private |
Definition at line 220 of file CTColumns.h.
Referenced by spectralWindow().