A class to provide easy read-write access to MSAntenna columns. More...
#include <MSAntennaColumns.h>
Public Member Functions | |
MSAntennaColumns (MSAntenna &msAntenna) | |
Create a columns object that accesses the data in the specified Table. | |
~MSAntennaColumns () | |
The destructor does nothing special. | |
ScalarColumn< Double > & | dishDiameter () |
Read-write access to required columns. | |
ScalarQuantColumn< Double > & | dishDiameterQuant () |
ScalarColumn< Bool > & | flagRow () |
ScalarColumn< String > & | mount () |
ScalarColumn< String > & | name () |
ArrayColumn< Double > & | offset () |
ArrayQuantColumn< Double > & | offsetQuant () |
ScalarMeasColumn< MPosition > & | offsetMeas () |
ArrayColumn< Double > & | position () |
ArrayQuantColumn< Double > & | positionQuant () |
ScalarMeasColumn< MPosition > & | positionMeas () |
ScalarColumn< String > & | station () |
ScalarColumn< String > & | type () |
ArrayColumn< Double > & | meanOrbit () |
Read-write access to optional columns. | |
ScalarColumn< Int > & | orbitId () |
ScalarColumn< Int > & | phasedArrayId () |
const ROScalarColumn< Double > & | dishDiameter () const |
Read-only access to required columns. | |
const ROScalarQuantColumn < Double > & | dishDiameterQuant () const |
const ROScalarColumn< Bool > & | flagRow () const |
const ROScalarColumn< String > & | mount () const |
const ROScalarColumn< String > & | name () const |
const ROArrayColumn< Double > & | offset () const |
const ROArrayQuantColumn < Double > & | offsetQuant () const |
const ROScalarMeasColumn < MPosition > & | offsetMeas () const |
const ROArrayColumn< Double > & | position () const |
const ROArrayQuantColumn < Double > & | positionQuant () const |
const ROScalarMeasColumn < MPosition > & | positionMeas () const |
const ROScalarColumn< String > & | station () const |
const ROScalarColumn< String > & | type () const |
const ROArrayColumn< Double > & | meanOrbit () const |
Read-only access to optional columns. | |
const ROScalarColumn< Int > & | orbitId () const |
const ROScalarColumn< Int > & | phasedArrayId () const |
void | setPositionRef (MPosition::Types ref) |
set the position type for the POSITION column. | |
void | setOffsetRef (MPosition::Types ref) |
set the position type for the OFFSET column. | |
Protected Member Functions | |
MSAntennaColumns () | |
void | attach (MSAntenna &msAntenna) |
Private Member Functions | |
MSAntennaColumns (const MSAntennaColumns &) | |
MSAntennaColumns & | operator= (const MSAntennaColumns &) |
void | attachOptionalCols (MSAntenna &msAntenna) |
Private Attributes | |
ScalarColumn< Double > | dishDiameter_p |
ScalarColumn< Bool > | flagRow_p |
ScalarColumn< String > | mount_p |
ScalarColumn< String > | name_p |
ArrayColumn< Double > | offset_p |
ArrayColumn< Double > | position_p |
ScalarColumn< String > | station_p |
ScalarColumn< String > | type_p |
ArrayColumn< Double > | meanOrbit_p |
ScalarColumn< Int > | orbitId_p |
ScalarColumn< Int > | phasedArrayId_p |
ScalarMeasColumn< MPosition > | offsetMeas_p |
ScalarMeasColumn< MPosition > | positionMeas_p |
ScalarQuantColumn< Double > | dishDiameterQuant_p |
ArrayQuantColumn< Double > | offsetQuant_p |
ArrayQuantColumn< Double > | positionQuant_p |
A class to provide easy read-write access to MSAntenna columns.
Public interface
MSAntennaColumns stands for MeasurementSet Antenna Table columns.
This class provides access to the columns in the MSAntenna Table, 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 MSColumns for an example.
See MSColumns for the motivation.
Definition at line 227 of file MSAntennaColumns.h.
casacore::MSAntennaColumns::MSAntennaColumns | ( | MSAntenna & | msAntenna | ) |
Create a columns object that accesses the data in the specified Table.
casacore::MSAntennaColumns::~MSAntennaColumns | ( | ) |
The destructor does nothing special.
casacore::MSAntennaColumns::MSAntennaColumns | ( | ) | [protected] |
casacore::MSAntennaColumns::MSAntennaColumns | ( | const MSAntennaColumns & | ) | [private] |
void casacore::MSAntennaColumns::attach | ( | MSAntenna & | msAntenna | ) | [protected] |
void casacore::MSAntennaColumns::attachOptionalCols | ( | MSAntenna & | msAntenna | ) | [private] |
const ROScalarColumn<Double>& casacore::MSAntennaColumns::dishDiameter | ( | ) | const [inline] |
Read-only access to required columns.
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 263 of file MSAntennaColumns.h.
References dishDiameter().
ScalarColumn<Double>& casacore::MSAntennaColumns::dishDiameter | ( | ) | [inline] |
Read-write access to required columns.
Definition at line 239 of file MSAntennaColumns.h.
References dishDiameter_p.
Referenced by dishDiameter().
const ROScalarQuantColumn<Double>& casacore::MSAntennaColumns::dishDiameterQuant | ( | ) | const [inline] |
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 265 of file MSAntennaColumns.h.
References dishDiameterQuant().
ScalarQuantColumn<Double>& casacore::MSAntennaColumns::dishDiameterQuant | ( | ) | [inline] |
Definition at line 240 of file MSAntennaColumns.h.
References dishDiameterQuant_p.
Referenced by dishDiameterQuant().
const ROScalarColumn<Bool>& casacore::MSAntennaColumns::flagRow | ( | ) | const [inline] |
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 267 of file MSAntennaColumns.h.
References flagRow().
ScalarColumn<Bool>& casacore::MSAntennaColumns::flagRow | ( | ) | [inline] |
const ROArrayColumn<Double>& casacore::MSAntennaColumns::meanOrbit | ( | ) | const [inline] |
Read-only access to optional columns.
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 293 of file MSAntennaColumns.h.
References meanOrbit().
ArrayColumn<Double>& casacore::MSAntennaColumns::meanOrbit | ( | ) | [inline] |
Read-write access to optional columns.
Definition at line 256 of file MSAntennaColumns.h.
References meanOrbit_p.
Referenced by meanOrbit().
const ROScalarColumn<String>& casacore::MSAntennaColumns::mount | ( | ) | const [inline] |
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 269 of file MSAntennaColumns.h.
References mount().
ScalarColumn<String>& casacore::MSAntennaColumns::mount | ( | ) | [inline] |
const ROScalarColumn<String>& casacore::MSAntennaColumns::name | ( | ) | const [inline] |
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 271 of file MSAntennaColumns.h.
References name().
ScalarColumn<String>& casacore::MSAntennaColumns::name | ( | ) | [inline] |
const ROArrayColumn<Double>& casacore::MSAntennaColumns::offset | ( | ) | const [inline] |
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 273 of file MSAntennaColumns.h.
References offset().
ArrayColumn<Double>& casacore::MSAntennaColumns::offset | ( | ) | [inline] |
const ROScalarMeasColumn<MPosition>& casacore::MSAntennaColumns::offsetMeas | ( | ) | const [inline] |
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 277 of file MSAntennaColumns.h.
References offsetMeas().
ScalarMeasColumn<MPosition>& casacore::MSAntennaColumns::offsetMeas | ( | ) | [inline] |
Definition at line 246 of file MSAntennaColumns.h.
References offsetMeas_p.
Referenced by offsetMeas().
const ROArrayQuantColumn<Double>& casacore::MSAntennaColumns::offsetQuant | ( | ) | const [inline] |
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 275 of file MSAntennaColumns.h.
References offsetQuant().
ArrayQuantColumn<Double>& casacore::MSAntennaColumns::offsetQuant | ( | ) | [inline] |
Definition at line 245 of file MSAntennaColumns.h.
References offsetQuant_p.
Referenced by offsetQuant().
MSAntennaColumns& casacore::MSAntennaColumns::operator= | ( | const MSAntennaColumns & | ) | [private] |
Reimplemented from casacore::ROMSAntennaColumns.
const ROScalarColumn<Int>& casacore::MSAntennaColumns::orbitId | ( | ) | const [inline] |
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 295 of file MSAntennaColumns.h.
References orbitId().
ScalarColumn<Int>& casacore::MSAntennaColumns::orbitId | ( | ) | [inline] |
const ROScalarColumn<Int>& casacore::MSAntennaColumns::phasedArrayId | ( | ) | const [inline] |
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 297 of file MSAntennaColumns.h.
References phasedArrayId().
ScalarColumn<Int>& casacore::MSAntennaColumns::phasedArrayId | ( | ) | [inline] |
Definition at line 258 of file MSAntennaColumns.h.
References phasedArrayId_p.
Referenced by phasedArrayId().
const ROArrayColumn<Double>& casacore::MSAntennaColumns::position | ( | ) | const [inline] |
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 279 of file MSAntennaColumns.h.
References position().
ArrayColumn<Double>& casacore::MSAntennaColumns::position | ( | ) | [inline] |
const ROScalarMeasColumn<MPosition>& casacore::MSAntennaColumns::positionMeas | ( | ) | const [inline] |
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 283 of file MSAntennaColumns.h.
References positionMeas().
ScalarMeasColumn<MPosition>& casacore::MSAntennaColumns::positionMeas | ( | ) | [inline] |
Definition at line 249 of file MSAntennaColumns.h.
References positionMeas_p.
Referenced by positionMeas().
const ROArrayQuantColumn<Double>& casacore::MSAntennaColumns::positionQuant | ( | ) | const [inline] |
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 281 of file MSAntennaColumns.h.
References positionQuant().
ArrayQuantColumn<Double>& casacore::MSAntennaColumns::positionQuant | ( | ) | [inline] |
Definition at line 248 of file MSAntennaColumns.h.
References positionQuant_p.
Referenced by positionQuant().
void casacore::MSAntennaColumns::setOffsetRef | ( | MPosition::Types | ref | ) |
set the position type for the OFFSET column.
This can only be done when the table has no rows. Trying to do so at other times will throw an exception.
void casacore::MSAntennaColumns::setPositionRef | ( | MPosition::Types | ref | ) |
set the position type for the POSITION column.
This can only be done when the table has no rows. Trying to do so at other times will throw an exception.
const ROScalarColumn<String>& casacore::MSAntennaColumns::station | ( | ) | const [inline] |
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 285 of file MSAntennaColumns.h.
References station().
ScalarColumn<String>& casacore::MSAntennaColumns::station | ( | ) | [inline] |
const ROScalarColumn<String>& casacore::MSAntennaColumns::type | ( | ) | const [inline] |
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 287 of file MSAntennaColumns.h.
References type().
ScalarColumn<String>& casacore::MSAntennaColumns::type | ( | ) | [inline] |
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 329 of file MSAntennaColumns.h.
Referenced by dishDiameter().
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 347 of file MSAntennaColumns.h.
Referenced by dishDiameterQuant().
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 330 of file MSAntennaColumns.h.
Referenced by flagRow().
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 338 of file MSAntennaColumns.h.
Referenced by meanOrbit().
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 331 of file MSAntennaColumns.h.
Referenced by mount().
ScalarColumn<String> casacore::MSAntennaColumns::name_p [private] |
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 332 of file MSAntennaColumns.h.
Referenced by name().
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 333 of file MSAntennaColumns.h.
Referenced by offset().
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 343 of file MSAntennaColumns.h.
Referenced by offsetMeas().
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 348 of file MSAntennaColumns.h.
Referenced by offsetQuant().
ScalarColumn<Int> casacore::MSAntennaColumns::orbitId_p [private] |
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 339 of file MSAntennaColumns.h.
Referenced by orbitId().
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 340 of file MSAntennaColumns.h.
Referenced by phasedArrayId().
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 334 of file MSAntennaColumns.h.
Referenced by position().
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 344 of file MSAntennaColumns.h.
Referenced by positionMeas().
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 349 of file MSAntennaColumns.h.
Referenced by positionQuant().
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 335 of file MSAntennaColumns.h.
Referenced by station().
ScalarColumn<String> casacore::MSAntennaColumns::type_p [private] |
Reimplemented from casacore::ROMSAntennaColumns.
Definition at line 336 of file MSAntennaColumns.h.
Referenced by type().