casa
5.7.0-16
|
A class to provide easy read-write access to MSDoppler columns. More...
#include <MSDopplerColumns.h>
Public Member Functions | |
MSDopplerColumns (MSDoppler &msDoppler) | |
Create a columns object that accesses the data in the specified Table. More... | |
~MSDopplerColumns () | |
The destructor does nothing special. More... | |
ScalarColumn< Int > & | dopplerId () |
Read-write access to required columns. More... | |
ScalarColumn< Int > & | sourceId () |
ScalarColumn< Int > & | transitionId () |
ScalarColumn< Double > & | velDef () |
ScalarQuantColumn< Double > & | velDefQuant () |
ScalarMeasColumn< MDoppler > & | velDefMeas () |
const ROScalarColumn< Int > & | dopplerId () const |
Read-only access to required columns. More... | |
const ROScalarColumn< Int > & | sourceId () const |
const ROScalarColumn< Int > & | transitionId () const |
const ROScalarColumn< Double > & | velDef () const |
const ROScalarQuantColumn < Double > & | velDefQuant () const |
const ROScalarMeasColumn < MDoppler > & | velDefMeas () const |
void | setVelDefRef (MDoppler::Types ref) |
set the DOPPLER type for the VELDEF column. More... | |
Public Member Functions inherited from casacore::ROMSDopplerColumns | |
ROMSDopplerColumns (const MSDoppler &msDoppler) | |
Create a columns object that accesses the data in the specified Table. More... | |
~ROMSDopplerColumns () | |
The destructor does nothing special. More... | |
Bool | isNull () const |
Is this object defined? (MSDoppler table is optional) More... | |
const ROScalarColumn< Int > & | dopplerId () const |
Access to columns. More... | |
const ROScalarColumn< Int > & | sourceId () const |
const ROScalarColumn< Int > & | transitionId () const |
const ROScalarColumn< Double > & | velDef () const |
const ROScalarQuantColumn < Double > & | velDefQuant () const |
const ROScalarMeasColumn < MDoppler > & | velDefMeas () const |
uInt | nrow () const |
Convenience function that returns the number of rows in any of the columns. More... | |
Protected Member Functions | |
MSDopplerColumns () | |
void | attach (MSDoppler &msDoppler) |
Protected Member Functions inherited from casacore::ROMSDopplerColumns | |
ROMSDopplerColumns () | |
void | attach (const MSDoppler &msDoppler) |
Private Member Functions | |
MSDopplerColumns (const MSDopplerColumns &) | |
MSDopplerColumns & | operator= (const MSDopplerColumns &) |
Private Attributes | |
ScalarColumn< Int > | dopplerId_p |
ScalarColumn< Int > | sourceId_p |
ScalarColumn< Int > | transitionId_p |
ScalarColumn< Double > | velDef_p |
ScalarMeasColumn< MDoppler > | velDefMeas_p |
ScalarQuantColumn< Double > | velDefQuant_p |
A class to provide easy read-write access to MSDoppler columns.
Public interface
MSDopplerColumns stands for MeasurementSet Doppler Table columns.
This class provides access to the columns in the MSDoppler 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 164 of file MSDopplerColumns.h.
casacore::MSDopplerColumns::MSDopplerColumns | ( | MSDoppler & | msDoppler | ) |
Create a columns object that accesses the data in the specified Table.
casacore::MSDopplerColumns::~MSDopplerColumns | ( | ) |
The destructor does nothing special.
|
protected |
|
private |
|
protected |
|
inline |
Read-write access to required columns.
Definition at line 175 of file MSDopplerColumns.h.
References dopplerId_p.
|
inline |
Read-only access to required columns.
Definition at line 185 of file MSDopplerColumns.h.
References casacore::ROMSDopplerColumns::dopplerId().
|
private |
void casacore::MSDopplerColumns::setVelDefRef | ( | MDoppler::Types | ref | ) |
set the DOPPLER type for the VELDEF column.
|
inline |
Definition at line 176 of file MSDopplerColumns.h.
References sourceId_p.
|
inline |
Definition at line 187 of file MSDopplerColumns.h.
References casacore::ROMSDopplerColumns::sourceId().
|
inline |
Definition at line 177 of file MSDopplerColumns.h.
References transitionId_p.
|
inline |
Definition at line 189 of file MSDopplerColumns.h.
References casacore::ROMSDopplerColumns::transitionId().
|
inline |
Definition at line 178 of file MSDopplerColumns.h.
References velDef_p.
|
inline |
Definition at line 191 of file MSDopplerColumns.h.
References casacore::ROMSDopplerColumns::velDef().
|
inline |
Definition at line 180 of file MSDopplerColumns.h.
References velDefMeas_p.
|
inline |
Definition at line 195 of file MSDopplerColumns.h.
References casacore::ROMSDopplerColumns::velDefMeas().
|
inline |
Definition at line 179 of file MSDopplerColumns.h.
References velDefQuant_p.
|
inline |
Definition at line 193 of file MSDopplerColumns.h.
References casacore::ROMSDopplerColumns::velDefQuant().
|
private |
Definition at line 217 of file MSDopplerColumns.h.
Referenced by dopplerId().
|
private |
Definition at line 218 of file MSDopplerColumns.h.
Referenced by sourceId().
|
private |
Definition at line 219 of file MSDopplerColumns.h.
Referenced by transitionId().
|
private |
Definition at line 220 of file MSDopplerColumns.h.
Referenced by velDef().
|
private |
Definition at line 223 of file MSDopplerColumns.h.
Referenced by velDefMeas().
|
private |
Definition at line 226 of file MSDopplerColumns.h.
Referenced by velDefQuant().