casa
$Rev:20696$
|
A class to provide easy read-only access to MSProcessor columns. More...
#include <MSProcessorColumns.h>
Public Member Functions | |
ROMSProcessorColumns (const MSProcessor &msProcessor) | |
Create a columns object that accesses the data in the specified Table. | |
~ROMSProcessorColumns () | |
The destructor does nothing special. | |
const ROScalarColumn< Bool > & | flagRow () const |
Access to required columns. | |
const ROScalarColumn< Int > & | modeId () const |
const ROScalarColumn< String > & | type () const |
const ROScalarColumn< Int > & | typeId () const |
const ROScalarColumn< String > & | subType () const |
const ROScalarColumn< Int > & | passId () const |
Read-only access to optional columns. | |
uInt | nrow () const |
Convenience function that returns the number of rows in any of the columns. | |
Protected Member Functions | |
ROMSProcessorColumns () | |
void | attach (const MSProcessor &msProcessor) |
Private Member Functions | |
ROMSProcessorColumns (const ROMSProcessorColumns &) | |
ROMSProcessorColumns & | operator= (const ROMSProcessorColumns &) |
void | attachOptionalCols (const MSProcessor &msField) |
Private Attributes | |
ROScalarColumn< Bool > | flagRow_p |
ROScalarColumn< Int > | modeId_p |
ROScalarColumn< String > | type_p |
ROScalarColumn< Int > | typeId_p |
ROScalarColumn< String > | subType_p |
ROScalarColumn< Int > | passId_p |
A class to provide easy read-only access to MSProcessor columns.
Public interface
ROMSProcessorColumns stands for Read-Only MeasurementSet Processor Table columns.
This class provides read-only access to the columns in the MSProcessor 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 72 of file MSProcessorColumns.h.
casa::ROMSProcessorColumns::ROMSProcessorColumns | ( | const MSProcessor & | msProcessor | ) |
Create a columns object that accesses the data in the specified Table.
The destructor does nothing special.
casa::ROMSProcessorColumns::ROMSProcessorColumns | ( | ) | [protected] |
casa::ROMSProcessorColumns::ROMSProcessorColumns | ( | const ROMSProcessorColumns & | ) | [private] |
void casa::ROMSProcessorColumns::attach | ( | const MSProcessor & | msProcessor | ) | [protected] |
void casa::ROMSProcessorColumns::attachOptionalCols | ( | const MSProcessor & | msField | ) | [private] |
const ROScalarColumn<Bool>& casa::ROMSProcessorColumns::flagRow | ( | ) | const [inline] |
Access to required columns.
Reimplemented in casa::MSProcessorColumns.
Definition at line 83 of file MSProcessorColumns.h.
References flagRow_p.
const ROScalarColumn<Int>& casa::ROMSProcessorColumns::modeId | ( | ) | const [inline] |
Reimplemented in casa::MSProcessorColumns.
Definition at line 84 of file MSProcessorColumns.h.
References modeId_p.
uInt casa::ROMSProcessorColumns::nrow | ( | ) | const [inline] |
Convenience function that returns the number of rows in any of the columns.
Definition at line 96 of file MSProcessorColumns.h.
References flagRow_p.
ROMSProcessorColumns& casa::ROMSProcessorColumns::operator= | ( | const ROMSProcessorColumns & | ) | [private] |
const ROScalarColumn<Int>& casa::ROMSProcessorColumns::passId | ( | ) | const [inline] |
Read-only access to optional columns.
Reimplemented in casa::MSProcessorColumns.
Definition at line 92 of file MSProcessorColumns.h.
References passId_p.
const ROScalarColumn<String>& casa::ROMSProcessorColumns::subType | ( | ) | const [inline] |
Reimplemented in casa::MSProcessorColumns.
Definition at line 87 of file MSProcessorColumns.h.
References subType_p.
const ROScalarColumn<String>& casa::ROMSProcessorColumns::type | ( | ) | const [inline] |
Reimplemented in casa::MSProcessorColumns.
Definition at line 85 of file MSProcessorColumns.h.
References type_p.
const ROScalarColumn<Int>& casa::ROMSProcessorColumns::typeId | ( | ) | const [inline] |
Reimplemented in casa::MSProcessorColumns.
Definition at line 86 of file MSProcessorColumns.h.
References typeId_p.
Reimplemented in casa::MSProcessorColumns.
Definition at line 116 of file MSProcessorColumns.h.
Reimplemented in casa::MSProcessorColumns.
Definition at line 117 of file MSProcessorColumns.h.
Referenced by modeId().
Reimplemented in casa::MSProcessorColumns.
Definition at line 122 of file MSProcessorColumns.h.
Referenced by passId().
Reimplemented in casa::MSProcessorColumns.
Definition at line 120 of file MSProcessorColumns.h.
Referenced by subType().
Reimplemented in casa::MSProcessorColumns.
Definition at line 118 of file MSProcessorColumns.h.
Referenced by type().
Reimplemented in casa::MSProcessorColumns.
Definition at line 119 of file MSProcessorColumns.h.
Referenced by typeId().