casa
$Rev:20696$
|
A class to provide easy read-only access to MSDoppler columns. More...
#include <MSDopplerColumns.h>
Public Member Functions | |
ROMSDopplerColumns (const MSDoppler &msDoppler) | |
Create a columns object that accesses the data in the specified Table. | |
~ROMSDopplerColumns () | |
The destructor does nothing special. | |
Bool | isNull () const |
Is this object defined? (MSDoppler table is optional) | |
const ROScalarColumn< Int > & | dopplerId () const |
Access to columns. | |
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. | |
Protected Member Functions | |
ROMSDopplerColumns () | |
void | attach (const MSDoppler &msDoppler) |
Private Member Functions | |
ROMSDopplerColumns (const ROMSDopplerColumns &) | |
ROMSDopplerColumns & | operator= (const ROMSDopplerColumns &) |
Private Attributes | |
Bool | isNull_p |
ROScalarColumn< Int > | dopplerId_p |
ROScalarColumn< Int > | sourceId_p |
ROScalarColumn< Int > | transitionId_p |
ROScalarColumn< Double > | velDef_p |
ROScalarMeasColumn< MDoppler > | velDefMeas_p |
ROScalarQuantColumn< Double > | velDefQuant_p |
A class to provide easy read-only access to MSDoppler columns.
Public interface
ROMSDopplerColumns stands for Read-Only MeasurementSet Doppler Table columns.
This class provides read-only 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 ROMSColumns for an example.
See MSColumns for the motivation.
Definition at line 75 of file MSDopplerColumns.h.
casa::ROMSDopplerColumns::ROMSDopplerColumns | ( | const MSDoppler & | msDoppler | ) |
Create a columns object that accesses the data in the specified Table.
The destructor does nothing special.
casa::ROMSDopplerColumns::ROMSDopplerColumns | ( | ) | [protected] |
casa::ROMSDopplerColumns::ROMSDopplerColumns | ( | const ROMSDopplerColumns & | ) | [private] |
void casa::ROMSDopplerColumns::attach | ( | const MSDoppler & | msDoppler | ) | [protected] |
const ROScalarColumn<Int>& casa::ROMSDopplerColumns::dopplerId | ( | ) | const [inline] |
Access to columns.
Reimplemented in casa::MSDopplerColumns.
Definition at line 89 of file MSDopplerColumns.h.
References dopplerId_p.
Bool casa::ROMSDopplerColumns::isNull | ( | ) | const [inline] |
Is this object defined? (MSDoppler table is optional)
Definition at line 85 of file MSDopplerColumns.h.
References isNull_p.
Referenced by nrow().
uInt casa::ROMSDopplerColumns::nrow | ( | ) | const [inline] |
Convenience function that returns the number of rows in any of the columns.
Returns zero if the object is null.
Definition at line 99 of file MSDopplerColumns.h.
References dopplerId_p, and isNull().
ROMSDopplerColumns& casa::ROMSDopplerColumns::operator= | ( | const ROMSDopplerColumns & | ) | [private] |
const ROScalarColumn<Int>& casa::ROMSDopplerColumns::sourceId | ( | ) | const [inline] |
Reimplemented in casa::MSDopplerColumns.
Definition at line 90 of file MSDopplerColumns.h.
References sourceId_p.
const ROScalarColumn<Int>& casa::ROMSDopplerColumns::transitionId | ( | ) | const [inline] |
Reimplemented in casa::MSDopplerColumns.
Definition at line 91 of file MSDopplerColumns.h.
References transitionId_p.
const ROScalarColumn<Double>& casa::ROMSDopplerColumns::velDef | ( | ) | const [inline] |
Reimplemented in casa::MSDopplerColumns.
Definition at line 92 of file MSDopplerColumns.h.
References velDef_p.
const ROScalarMeasColumn<MDoppler>& casa::ROMSDopplerColumns::velDefMeas | ( | ) | const [inline] |
Reimplemented in casa::MSDopplerColumns.
Definition at line 94 of file MSDopplerColumns.h.
References velDefMeas_p.
const ROScalarQuantColumn<Double>& casa::ROMSDopplerColumns::velDefQuant | ( | ) | const [inline] |
Reimplemented in casa::MSDopplerColumns.
Definition at line 93 of file MSDopplerColumns.h.
References velDefQuant_p.
Reimplemented in casa::MSDopplerColumns.
Definition at line 119 of file MSDopplerColumns.h.
Referenced by dopplerId(), and nrow().
Bool casa::ROMSDopplerColumns::isNull_p [private] |
Definition at line 116 of file MSDopplerColumns.h.
Referenced by isNull().
Reimplemented in casa::MSDopplerColumns.
Definition at line 120 of file MSDopplerColumns.h.
Referenced by sourceId().
Reimplemented in casa::MSDopplerColumns.
Definition at line 121 of file MSDopplerColumns.h.
Referenced by transitionId().
Reimplemented in casa::MSDopplerColumns.
Definition at line 122 of file MSDopplerColumns.h.
Referenced by velDef().
Reimplemented in casa::MSDopplerColumns.
Definition at line 125 of file MSDopplerColumns.h.
Referenced by velDefMeas().
Reimplemented in casa::MSDopplerColumns.
Definition at line 128 of file MSDopplerColumns.h.
Referenced by velDefQuant().