casa
5.7.0-16
|
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. More... | |
~MSAntennaColumns () | |
The destructor does nothing special. More... | |
ScalarColumn< Double > & | dishDiameter () |
Read-write access to required columns. More... | |
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. More... | |
ScalarColumn< Int > & | orbitId () |
ScalarColumn< Int > & | phasedArrayId () |
const ROScalarColumn< Double > & | dishDiameter () const |
Read-only access to required columns. More... | |
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. More... | |
const ROScalarColumn< Int > & | orbitId () const |
const ROScalarColumn< Int > & | phasedArrayId () const |
void | setPositionRef (MPosition::Types ref) |
set the position type for the POSITION column. More... | |
void | setOffsetRef (MPosition::Types ref) |
set the position type for the OFFSET column. More... | |
Public Member Functions inherited from casacore::ROMSAntennaColumns | |
ROMSAntennaColumns (const MSAntenna &msAntenna) | |
Create a columns object that accesses the data in the specified Table. More... | |
~ROMSAntennaColumns () | |
The destructor does nothing special. More... | |
const ROScalarColumn< Double > & | dishDiameter () const |
Access to columns. More... | |
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 |
Access to optional columns. More... | |
const ROScalarColumn< Int > & | orbitId () const |
const ROScalarColumn< Int > & | phasedArrayId () const |
uInt | nrow () const |
Convenience function that returns the number of rows in any of the columns. More... | |
Int | matchAntenna (const MPosition &antennaPos, const Quantum< Double > &tolerance, Int tryRow=-1) |
returns the last row that contains an antenna at the specified position, to within the specified tolerance. More... | |
Int | matchAntenna (const String &antName, const MPosition &antennaPos, const Quantum< Double > &tolerance, Int tryRow=-1) |
Same as the previous function except that the antenna name must also match. More... | |
Int | matchAntennaAndStation (const String &antName, const String &stationName, const MPosition &antennaPos, const Quantum< Double > &tolerance, Int tryRow=-1) |
Same as the previous function except that the station name must also match. More... | |
Protected Member Functions | |
MSAntennaColumns () | |
void | attach (MSAntenna &msAntenna) |
Protected Member Functions inherited from casacore::ROMSAntennaColumns | |
ROMSAntennaColumns () | |
void | attach (const MSAntenna &msAntenna) |
Private Member Functions | |
MSAntennaColumns (const MSAntennaColumns &) | |
MSAntennaColumns & | operator= (const MSAntennaColumns &) |
void | attachOptionalCols (MSAntenna &msAntenna) |
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.
|
protected |
|
private |
|
protected |
|
private |
|
inline |
Read-write access to required columns.
Definition at line 239 of file MSAntennaColumns.h.
References dishDiameter_p.
Referenced by casa::sdfiller::AntennaRecord::fill().
|
inline |
Read-only access to required columns.
Definition at line 263 of file MSAntennaColumns.h.
References casacore::ROMSAntennaColumns::dishDiameter().
|
inline |
Definition at line 240 of file MSAntennaColumns.h.
References dishDiameterQuant_p.
|
inline |
Definition at line 265 of file MSAntennaColumns.h.
References casacore::ROMSAntennaColumns::dishDiameterQuant().
|
inline |
Definition at line 241 of file MSAntennaColumns.h.
References flagRow_p.
|
inline |
Definition at line 267 of file MSAntennaColumns.h.
References casacore::ROMSAntennaColumns::flagRow().
|
inline |
Read-write access to optional columns.
Definition at line 256 of file MSAntennaColumns.h.
References meanOrbit_p.
|
inline |
Read-only access to optional columns.
Definition at line 293 of file MSAntennaColumns.h.
References casacore::ROMSAntennaColumns::meanOrbit().
|
inline |
Definition at line 242 of file MSAntennaColumns.h.
References mount_p.
Referenced by casa::sdfiller::AntennaRecord::fill().
|
inline |
Definition at line 269 of file MSAntennaColumns.h.
References casacore::ROMSAntennaColumns::mount().
|
inline |
Definition at line 243 of file MSAntennaColumns.h.
References name_p.
Referenced by casa::sdfiller::AntennaRecord::fill().
|
inline |
Definition at line 271 of file MSAntennaColumns.h.
References casacore::ROMSAntennaColumns::name().
|
inline |
Definition at line 244 of file MSAntennaColumns.h.
References offset_p.
|
inline |
Definition at line 273 of file MSAntennaColumns.h.
References casacore::ROMSAntennaColumns::offset().
|
inline |
Definition at line 246 of file MSAntennaColumns.h.
References offsetMeas_p.
Referenced by casa::sdfiller::AntennaRecord::fill().
|
inline |
Definition at line 277 of file MSAntennaColumns.h.
References casacore::ROMSAntennaColumns::offsetMeas().
|
inline |
Definition at line 245 of file MSAntennaColumns.h.
References offsetQuant_p.
|
inline |
Definition at line 275 of file MSAntennaColumns.h.
References casacore::ROMSAntennaColumns::offsetQuant().
|
private |
|
inline |
Definition at line 257 of file MSAntennaColumns.h.
References orbitId_p.
|
inline |
Definition at line 295 of file MSAntennaColumns.h.
References casacore::ROMSAntennaColumns::orbitId().
|
inline |
Definition at line 258 of file MSAntennaColumns.h.
References phasedArrayId_p.
|
inline |
Definition at line 297 of file MSAntennaColumns.h.
References casacore::ROMSAntennaColumns::phasedArrayId().
|
inline |
Definition at line 247 of file MSAntennaColumns.h.
References position_p.
|
inline |
Definition at line 279 of file MSAntennaColumns.h.
References casacore::ROMSAntennaColumns::position().
|
inline |
Definition at line 249 of file MSAntennaColumns.h.
References positionMeas_p.
Referenced by casa::sdfiller::AntennaRecord::fill().
|
inline |
Definition at line 283 of file MSAntennaColumns.h.
References casacore::ROMSAntennaColumns::positionMeas().
|
inline |
Definition at line 248 of file MSAntennaColumns.h.
References positionQuant_p.
|
inline |
Definition at line 281 of file MSAntennaColumns.h.
References casacore::ROMSAntennaColumns::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.
|
inline |
Definition at line 250 of file MSAntennaColumns.h.
References station_p.
Referenced by casa::sdfiller::AntennaRecord::fill().
|
inline |
Definition at line 285 of file MSAntennaColumns.h.
References casacore::ROMSAntennaColumns::station().
|
inline |
Definition at line 251 of file MSAntennaColumns.h.
References type_p.
Referenced by casa::sdfiller::AntennaRecord::fill().
|
inline |
Definition at line 287 of file MSAntennaColumns.h.
References casacore::ROMSAntennaColumns::type().
|
private |
Definition at line 329 of file MSAntennaColumns.h.
Referenced by dishDiameter().
|
private |
Definition at line 347 of file MSAntennaColumns.h.
Referenced by dishDiameterQuant().
|
private |
Definition at line 330 of file MSAntennaColumns.h.
Referenced by flagRow().
|
private |
Definition at line 338 of file MSAntennaColumns.h.
Referenced by meanOrbit().
|
private |
Definition at line 331 of file MSAntennaColumns.h.
Referenced by mount().
|
private |
Definition at line 332 of file MSAntennaColumns.h.
Referenced by name().
|
private |
Definition at line 333 of file MSAntennaColumns.h.
Referenced by offset().
|
private |
Definition at line 343 of file MSAntennaColumns.h.
Referenced by offsetMeas().
|
private |
Definition at line 348 of file MSAntennaColumns.h.
Referenced by offsetQuant().
|
private |
Definition at line 339 of file MSAntennaColumns.h.
Referenced by orbitId().
|
private |
Definition at line 340 of file MSAntennaColumns.h.
Referenced by phasedArrayId().
|
private |
Definition at line 334 of file MSAntennaColumns.h.
Referenced by position().
|
private |
Definition at line 344 of file MSAntennaColumns.h.
Referenced by positionMeas().
|
private |
Definition at line 349 of file MSAntennaColumns.h.
Referenced by positionQuant().
|
private |
Definition at line 335 of file MSAntennaColumns.h.
Referenced by station().
|
private |
Definition at line 336 of file MSAntennaColumns.h.
Referenced by type().